From 27191f4012fd854d605647a669c430526470db0a Mon Sep 17 00:00:00 2001 From: Nico Golde Date: Mon, 1 Jun 2009 13:39:01 +0200 Subject: [PATCH] replace echo with printf so it doesnt rely on xsi extension of susv3 --- query.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query.sh b/query.sh index aa4afb0..87a9525 100755 --- 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