ref: 39cabc72693fdc5186a1e5c745d0c307de157686
parent: 797cc13c7053dbdd16c20dc4dee5aee8c92390b0
author: khm <devnull@localhost>
date: Fri Nov 7 07:51:16 EST 2014
Don't quit ircrc on blank line (thanks Ray)
--- a/rc/bin/ircrc
+++ b/rc/bin/ircrc
@@ -42,9 +42,10 @@
target = `{echo $target | awk -F',' '{print $NF}'}
while () {
cmd=`{read}
+ s=$status
if(! ~ `{cat $netdir/status} *Established*)
exit
- if(~ $#cmd 0) {
+ if(~ $s *eof) {
echo QUIT : Leaving... > $netdir/data
exit
}