Added search.sh to make recursive grep searches

master
lanxu 2017-12-17 14:42:59 +02:00
parent 8a80f1a762
commit a56a09a049
1 changed files with 5 additions and 0 deletions

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" .