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

This commit is contained in:
Nico Golde 2009-06-01 13:39:01 +02:00
parent 53500aea6e
commit 27191f4012

View File

@ -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