foamSearch: corrected message when keyword is not found

This commit is contained in:
Chris Greenshields
2017-07-13 10:53:20 -05:00
parent c3fd351234
commit e119636ddb

View File

@ -86,7 +86,7 @@ done
[ -s "$tmp" ] && \ [ -s "$tmp" ] && \
sort "$tmp" | uniq $count | sed '/^[\t 1-9]*$/d' || \ sort "$tmp" | uniq $count | sed '/^[\t 1-9]*$/d' || \
echo "No keyword $2 found in $3 files" echo "No keyword $3 found in $2 files"
rm "$tmp" 2>/dev/null rm "$tmp" 2>/dev/null