From: ray@raylai.com
To: ray@raylai.com, 9front@9front.org
Subject: Don't quit ircrc on blank line
Date: Fri, 7 Nov 2014 22:00:18 +0800 [thread overview]
Message-ID: <827c3021ae2ff29fc72bf1774223c483@yourdomain.dom> (raw)
diff -r 33cb4ea3b280 rc/bin/ircrc
--- a/rc/bin/ircrc Fri Nov 07 05:21:42 2014 +0100
+++ b/rc/bin/ircrc Sat Nov 08 21:29:18 2014 +0800
@@ -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
}
reply other threads:[~2014-11-07 14:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=827c3021ae2ff29fc72bf1774223c483@yourdomain.dom \
--to=ray@raylai.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).