From: Colin Watson Date: Thu, 1 May 2008 20:28:25 +0000 (+0000) Subject: fix backslash handling X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=c1f310f7bd6889a3bea6f921c60a22b2f4e0c443 fix backslash handling --- diff --git a/irssi-notify b/irssi-notify index 9a9aac2..a9b6071 100755 --- a/irssi-notify +++ b/irssi-notify @@ -5,7 +5,7 @@ set -e # http://thorstenl.blogspot.com/2007/01/thls-irssi-notification-script.html ssh -n riva irssi-notify-server | \ - sed -u 's/&/\&/g; s//\>/g' | \ + sed -u 's/&/\&/g; s//\>/g; s/\\/\\\\/g' | \ while read heading message; do case $heading in .)