custom lists

This commit is contained in:
vulpine 2020-09-15 17:42:32 -04:00
parent 1eab4104ff
commit 4ed78d55d3
2 changed files with 8 additions and 1 deletions

2
list
View File

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

7
slist 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
done