commit bd2abc0c58bd5f92842c5579176e073cd88a9bb8
parent 42e04cc94a5b70928104dea67b27fd13feddc332
Author: GeaRSiX <gearsix@tuta.io>
Date: Mon, 9 Aug 2021 16:58:45 +0100
fix to grepf
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/grepf.sh b/src/grepf.sh
@@ -4,7 +4,7 @@
# dependencies: grep
# e.g.$ grepf dogs/ "shades"
-if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then
+if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo "Usage: grepf DIRECTORY EXPRESSION"
echo ""
echo "call grep EXPRESSION on all files in DIRECTORY"