grep --dont-read-devices-or-symlinks

Simon 'corecode' Schubert corecode at
Fri Jun 17 08:52:18 PDT 2005

On 17.06.2005, at 15:47, Joerg Sonnenberger wrote:
find attached a patch to grep to only read real files, ignoring 
devices, etc.(-O --only-files). I felt I need this for grepping my 
which also contains some compile/* directories where modules produce 
I'm more comfortable with fixing the recursion loops properly.
how so? i don't want to search a duplicate /sys at all... well, i can 
keep the patch in my tree as well, just wanted to share some thought

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00005.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <>

More information about the Submit mailing list