replace echo with printf so it doesnt rely on xsi extension of susv3 - ii - irc it, simple FIFO based irc client
(HTM) git clone git://git.suckless.org/ii
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 27191f4012fd854d605647a669c430526470db0a
(DIR) parent 53500aea6ecee6f8ed5a220ed1cf39fe2970e588
(HTM) Author: Nico Golde <nion@suckless.org>
Date: Mon, 1 Jun 2009 13:39:01 +0200
replace echo with printf so it doesnt rely on xsi extension of susv3
Diffstat:
M query.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/query.sh b/query.sh
@@ -20,7 +20,7 @@ do
# strip server, nickserv and channel out files
echo $i | egrep -v -i "nickserv|#|$IRCPATH/(irc\.freenode\.net|irc\.oftc\.net)/out" > /dev/null 2>&1
if [ $? -ne 1 ]; then
- echo "new data in: $i\n========================================================"
+ printf "new data in: %s\n========================================================\n" "$i"
tail -5 $i
fi
fi