| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <00db01beff12$f9bc1620$bbdb5ad8@thales> |
| From: | "The Tolands" <p DOT toland AT computer DOT org> |
| To: | "Dan Richards" <rodan AT roving DOT com>, |
| "cygwin cygwin" <cygwin AT sourceware DOT cygnus DOT com> | |
| References: | <19990914175519 DOT 8895 DOT rocketmail AT web112 DOT yahoomail DOT com> |
| Subject: | Re: recursive grep |
| Date: | Tue, 14 Sep 1999 19:40:56 -0500 |
| Organization: | None |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.00.2615.200 |
| X-MIMEOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
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 DOT toland AT computer DOT org
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |