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

Joerg Sonnenberger joerg at britannica.bec.de
Fri Jun 17 06:48:19 PDT 2005


On Fri, Jun 17, 2005 at 11:33:08AM +0200, Simon 'corecode' Schubert wrote:
> find attached a patch to grep to only read real files, ignoring symlinks,
> devices, etc.(-O --only-files). I felt I need this for grepping my /src/sys
> which also contains some compile/* directories where modules produce recursive
> loops...

I'm more comfortable with fixing the recursion loops properly.

Joerg





More information about the Submit mailing list