>There's more than one way to do this. An example might be useful:
>
>% find /usr/include -follow -name \*.h | xargs grep time /dev/null
>
>The find command generates a list of all the header files from /usr/include
>(including symlinks).
Close, but no cigar. You need to use the -print option to find
as well. Yes, it works on Linux, but it won't necessarily work
on other versions of Unix, and if you're going to do things like
this, you should always try and make them portable.
GNU find automagically supplies -print if no actions (other than
-prune) are supplied. The Solaris find *always* supplies -print.
However, the SunOS find doesn't print the filenames unless -print
is given explicitly.
Tet
--
Politicians should read SF, not westerns and detective stories. - A.C.Clarke
--------------------+--------------+----------------------------------------
[EMAIL PROTECTED] | Micro$oft: | Linux, the choice of a GNU generation.
[EMAIL PROTECTED] | Just say no! | See http://www.uk.linux.org for details