Added search.sh to make recursive grep searches

This commit is contained in:
lanxu 2017-12-17 14:42:59 +02:00
parent 8a80f1a762
commit a56a09a049

5
search.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ -z $1 ]; then echo "Search requires search string"; exit 1; fi
grep -Irn "$1" .