I think the submitter is correct on pointing out problem of this manual.

(but with a minor issue.  -r option really does recurse directory if
there is the starting directory called "foo.c".)

His solution seem to be untested and wrong.  Find need starting
directory and file pattern.  Also checking file type may be a good idea 
too.  If you insist using find:

$ grep -n -e 'usr/local/lib' `find . -type f -name '*.[c|h]'`

But I will use simpler:

$ grep -nr -e 'usr/local/lib' --include='*.[c|h]' .

for fix.  Then I do not need to change text.

Osamu
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <[EMAIL PROTECTED]>  Yokohama Japan, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to