chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
my-debmirror: miscellaneous updates - lenny and squeeze are long-obsolete, wheezy...
[bin.git]
/
irssi-notify
diff --git
a/irssi-notify
b/irssi-notify
index 9a9aac2938a23b4de5b9fb815c3d12934227143f..de6acf713c113d774af1d8460869e160f6d98956 100755
(executable)
--- 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 | \
# http://thorstenl.blogspot.com/2007/01/thls-irssi-notification-script.html
ssh -n riva irssi-notify-server | \
- sed -u 's/&/\&/g; s/</\</g; s/>/\>/g' | \
+ sed -u 's/&/\&/g; s/</\</g; s/>/\>/g
; s/\\/\\\\/g
' | \
while read heading message; do
case $heading in
.)
while read heading message; do
case $heading in
.)
@@
-16,12
+16,12
@@
ssh -n riva irssi-notify-server | \
message="${message#* }"
imp="${message%% *}"
message="${message#* }"
message="${message#* }"
imp="${message%% *}"
message="${message#* }"
- notify-send -i gtk-dialog-info -t
30000
0 -- \
+ notify-send -i gtk-dialog-info -t 0 -- \
"New LP bug $bug ($imp)" \
"<a href=\"https://launchpad.net/bugs/$bug\">$message</a>"
;;
*)
"New LP bug $bug ($imp)" \
"<a href=\"https://launchpad.net/bugs/$bug\">$message</a>"
;;
*)
- notify-send -i gtk-dialog-info -t 30000
0
-- \
+ notify-send -i gtk-dialog-info -t 30000 -- \
"${heading}" "${message}"
;;
esac
"${heading}" "${message}"
;;
esac