[PATCH 35/65] FAQ: example, treat backslash normally

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 9 May 2014 08:53:31 +0000

Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
---
 FAQ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/FAQ b/FAQ
index 49a2c2c..e5dd7a3 100644
--- a/FAQ
+++ b/FAQ
_AT_@ -38,7 +38,7 @@ It is very easy to write irc bots in ii:
 
 	#!/bin/sh
 	chan="#yourchannel"
-	tail -f "${chan}/out" | while read line; do
+	tail -f "${chan}/out" | while read -r line; do
 		cmd=$(printf '%s\n' "$line" | cut -d ' ' -f 4-)
 		name=$(printf '%s\n' "$line" | cut -d ' ' -f 3 | tr -d '<>')
 		if [ "$cmd" = "!rand" ]; then
-- 
2.4.10
--Multipart=_Mon__9_May_2016_17_21_10_+0200_I.6cpFVydhq75aaE
Content-Type: text/x-diff;
 name="0036-config.mk-dont-bump-version-just-yet.patch"
Content-Disposition: attachment;
 filename="0036-config.mk-dont-bump-version-just-yet.patch"
Content-Transfer-Encoding: 7bit
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon May 09 2016 - 17:24:22 CEST