commit 8b4f80ef7c093368781b73399fbdbded60841162
parent b944444a614d419ffd4321742465ec185f8af2a1
Author: GeaRSiX <gearsix.net>
Date: Fri, 12 Jun 2020 15:49:37 +0100
added dependency doc to gfind
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/gfind.sh b/src/gfind.sh
@@ -1,6 +1,7 @@
#!/bin/sh
# gfind (grep find)
# description: find files containing string $2 in directory/file $1
+# dependencies: grep
# e.g.$ gfind dogs/ "shades"
grep -rnw $1 -e "$2" #recursive, print line #, match whole word