mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
deal with changing connnames: use the last
This commit is contained in:
parent
e886a1aefe
commit
a5bab1232f
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ usage() {
|
||||||
connName() {
|
connName() {
|
||||||
LOG=$1
|
LOG=$1
|
||||||
grep 'got_connect_cmd: connName' $LOG | \
|
grep 'got_connect_cmd: connName' $LOG | \
|
||||||
sed 's,^.*connName: \"\(.*\)\"$,\1,' | \
|
tail -n 1 | \
|
||||||
sort -u
|
sed 's,^.*connName: \"\(.*\)\"$,\1,'
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ "$#" -gt 0 ]; do
|
while [ "$#" -gt 0 ]; do
|
||||||
|
|
Loading…
Reference in a new issue