1

How can I enhance the output of find and grep?

view story
linux-howto

http://unix.stackexchange.com – I really don't look forward to having to do find/grep because the output, as returned by find . -exec grep sometext {} \; -print is just not very easy to read even when you dump it in a file. What I would like is if the file name had an indentation of 0 and then each file line where a match was found were indented with the line number and each match is highlighted in color. Let me know if this is possible. I just can't read the awful output as it comes out of the command that I know. I go between ksh and bash. (HowTos)