changeset: 81:1584832e6f96
tag: tip
user: Nico Golde <nion_AT_suckless.org>
date: Mon Jun 01 13:39:01 2009 +0200
files: query.sh
description:
replace echo with printf so it doesnt rely on xsi extension of susv3
diff -r 8aaf69aa2289 -r 1584832e6f96 query.sh
--- a/query.sh Sat May 23 17:17:46 2009 +0200
+++ b/query.sh Mon Jun 01 13:39:01 2009 +0200
@@ -20,7 +20,7 @@
# 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
Received on Mon Jun 01 2009 - 11:41:08 UTC
This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 11:48:05 UTC