Remove more unused scripts

This commit is contained in:
2022-08-15 20:37:03 +08:00
parent 824fcee942
commit 4f8e48cea3
21 changed files with 22 additions and 179 deletions

12
bash/sources/21_win-greps Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
function grepo {
grep --color=always "$1" . -r | awk '{ count++; print " ["count"] "$0 } '
echo -n "Select number to open: "
read num
IFS="
"
CHOICES=( `grep -n "$1" . -r | awk 'BEGIN{ FS=":" }{ print "notepad /g "$2" "$1 }'` )
bash -c ${CHOICES[$(( num - 1 ))]}
}