replace echo with printf so it doesnt rely on xsi extension of susv3 - ii - FIF… | |
git clone git://git.codemadness.org/ii | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 27191f4012fd854d605647a669c430526470db0a | |
parent 53500aea6ecee6f8ed5a220ed1cf39fe2970e588 | |
Author: Nico Golde <[email protected]> | |
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(-) | |
--- | |
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\.of… | |
if [ $? -ne 1 ]; then | |
- echo "new data in: $i\n===========================================… | |
+ printf "new data in: %s\n=========================================… | |
tail -5 $i | |
fi | |
fi |