[wiki] [sites] iibots: the backslash does not need to be escaped, fix command continuing in new line || Ivan c00kiemon5ter Kanakarakis
changeset: 953:ff56eb3aa589
tag: tip
user: Ivan c00kiemon5ter Kanakarakis <ivan.kanak_AT_gmail.com>
date: Fri Jul 13 04:43:04 2012 +0300
files: tools.suckless.org/ii/bots.md
description:
iibots: the backslash does not need to be escaped, fix command continuing in new line
diff -r f71e07816838 -r ff56eb3aa589 tools.suckless.org/ii/bots.md
--- a/tools.suckless.org/ii/bots.md Fri Jul 13 02:10:19 2012 +0300
+++ b/tools.suckless.org/ii/bots.md Fri Jul 13 04:43:04 2012 +0300
_AT_@ -1,6 +1,6 @@
Its very easy to write shell script based bots with ii. As a short example look at this:
- tail -f \\#<CHANNEL>/out |
+ tail -f \#<CHANNEL>/out | \
while read -r date time nick mesg; do
nick="${nick#<}"
nick="${nick%>}"
Received on Fri Jul 13 2012 - 03:43:07 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:32:28 CEST