sh/shell/alias/grep.sh
2024-11-16 15:07:23 +01:00

8 lines
125 B
Bash

# grep from current directory with regex
g() {
grep \
--directories "recurse" \
--line-number \
--regexp \
"${@}"
}