mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +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() {
|
||||
LOG=$1
|
||||
grep 'got_connect_cmd: connName' $LOG | \
|
||||
sed 's,^.*connName: \"\(.*\)\"$,\1,' | \
|
||||
sort -u
|
||||
tail -n 1 | \
|
||||
sed 's,^.*connName: \"\(.*\)\"$,\1,'
|
||||
}
|
||||
|
||||
while [ "$#" -gt 0 ]; do
|
||||
|
|
Loading…
Reference in a new issue