This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: recursive grep


Actually, GNU grep 2.3 supports recursion, don't know about earlier
versions.   From the GNU grep 2.3 man page:

       -d ACTION, --directories=ACTION
              If an input file is a directory, use ACTION to pro<AD>
              cess it.  By default, ACTION is read,  which  means
              that  directories  are  read  just  as if they were
              ordinary files.  If ACTION is skip, directories are
              silently skipped.  If ACTION is recurse, grep reads
              all files under each directory,  recursively;  this
              is equivalent to the -r option.
        ...
       -r, --recursive
              Read  all  files under each directory, recursively;
              this is equivalent to the -d recurse option.

This version builds fine on cygwin right out of the tarball.  With a few
slight tweaks it will also compile with VC 6.  Email me if you want patches
for VC 6.

phil
p.toland@computer.org



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]