list stuff with script

This commit is contained in:
vulpine 2020-09-12 22:31:53 -04:00
parent bcd0629b0b
commit e3a5c47ef2
1 changed files with 7 additions and 0 deletions

7
list Executable file
View File

@ -0,0 +1,7 @@
for fn in $(grep -rl "$1" index | cut -b 7- | rev | cut -b 5- | rev);do
echo "$fn $2" >> bl.txt
done