ii

git clone https://orangeshoelaces.net/git/ii.git

27191f4012fd854d605647a669c430526470db0a

Author: Nico Golde on 06/01/2009

Committer: Nico Golde on 06/01/2009

replace echo with printf so it doesnt rely on xsi extension of susv3

Stats

query.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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