3 lines
205 B
Bash
Executable file
3 lines
205 B
Bash
Executable file
#!/bin/sh
|
|
# Grep in files matching the name pattern given as first argument
|
|
find -name "$1" | while read f; do grep --color=always --with-filename --line-number --ignore-case "${@:2}" "$f"; done | less -F
|