replace echo with printf so it doesnt rely on xsi extension of susv3
This commit is contained in:
parent
53500aea6e
commit
27191f4012
2
query.sh
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user