shlomo solomon <[EMAIL PROTECTED]> writes:

> The subject says it all. The -R switch is recursive, but ignores
> hidden directories. And grep also ignores hidden files. Is there a
> way around this? I couldn't find anything about this in man grep or
> on the net. In fact, aside from my personal experience, I couldn't
> even find confirmation that grep does ignore hidden files and
> directories.

It doesn't. The man page says "all files". Works for me. All the
variants: grep -r, grep -R, grep -d recurse.

Can you post the exact command line? What does not give you hidden
files is shell's wildcard * - can that be your culprit?

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to