scripts

My personal collection of scripts
git clone git://src.gearsix.net/scripts
Log | Files | Refs | Atom | README | LICENSE

commit bd2abc0c58bd5f92842c5579176e073cd88a9bb8
parent 42e04cc94a5b70928104dea67b27fd13feddc332
Author: GeaRSiX <gearsix@tuta.io>
Date:   Mon,  9 Aug 2021 16:58:45 +0100

fix to grepf

Diffstat:
Msrc/grepf.sh | 2+-
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"