sh/sh/cmd/grep.sh
2024-11-18 12:38:15 +01:00

8 lines
125 B
Bash

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