On Fri, 24 Jan 2003, Alon Weinstein wrote: > > 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 think the simplest solution is to supply grep with the filenames using > a pipe from "ls -a"
ls -ar produces an output that is not easy to pase and pipe. 'find' is generally better to produce list of all the children. There is also a separate program called 'rgrep' (IIRC there is, or was, such a redhat package) -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir ================================================================= 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]
