Field separator
This commit is contained in:
parent
1a8250f2b1
commit
82f43da167
|
@ -150,7 +150,7 @@ function detect_new_tox_users {
|
|||
if [[ $line != "Failed*" && $line != "data "* && $line != "Anon "* && $line != "anon "* ]]; then
|
||||
if ! grep -q "$line" $PREV_TOX_USERS_FILE; then
|
||||
# get the nick of the user
|
||||
toxidstr=$(echo "$line" | awk '{print $(NF)}')
|
||||
toxidstr=$(echo "$line" | awk -F ' ' '{print $(NF)}')
|
||||
toxuser=$(echo "$line" | sed "s| $toxidstr||g")
|
||||
|
||||
if [ -r "/home/$MESH_USERNAME/.dbus/Xdbus" ]; then
|
||||
|
|
Loading…
Reference in New Issue