ii

irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log | Files | Refs | README | LICENSE

commit 27191f4012fd854d605647a669c430526470db0a
parent 53500aea6ecee6f8ed5a220ed1cf39fe2970e588
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:
Mquery.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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