- or download this
find path -type f -print0 | xargs -0 grep -i -n pattern
- or download this
path/filename:line#:content of line containing pattern
path/subdir/filename:line#:another line with pattern in it
- or download this
#!/usr/bin/perl
...
$file, $line, $found{$file}{$line} );
}
}