From e8f777470bcfc98987ea7f84762885409b5517d2 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Sun, 3 Apr 2016 00:45:02 +0200 Subject: [PATCH 3/7] query.sh: Backticks are not POSIX compliant --- query.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query.sh b/query.sh index 87a9525..0ffef19 100755 --- a/query.sh +++ b/query.sh @@ -13,7 +13,7 @@ if [ ! -f $TMPFILE ]; then fi echo "searching new query data" -for i in `find $IRCPATH -newer $TMPFILE -name 'out'` +for i in $(find $IRCPATH -newer $TMPFILE -name 'out') do grep -v '\-!\-' $i > /dev/null 2>&1 # if file doesnt just contain server stuff if [ $? -ne 1 ]; then -- 2.8.0