I'm trying to have my remote ssh session send me notifications locally when my nick is mentioned on IRC.
The following code pops a Notification window saying "IRC Message", but with no content, every time my nick is mentioned or I type something in IRC.
The only time it's actually showing content is when I do a "/me" action, so "*nick and content" show up under "IRC Message" along with a timestamp. What am I doing wrong that it won't show regular messages?
ssh ircuser@server.net "tail -n 1 -q -f ~/irclogs/*/*.log|grep -i --line-buffered usernick"|while read line;do notify-send "IRC Message" "${line}";done
Thanks for any help.