This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Elementary Problem with find
- To: gnu-win32 at cygnus dot com
- Subject: Re: Elementary Problem with find
- From: mh at mike dot franken dot de (Michael Hirmke)
- Date: 25 Oct 1997 20:21:00 +0200
- Organization: Kommunikationsnetz Franken e.V. (Nuernberg)
Hi Tage,
>Make your own find:
>bash$ cd .../gnuwin32/b18/H-i386-cygwin32/bin
>bash$ cp find.exe gnufind.exe
>bash$ cd /...
>bash$ gnufind . -name *.c -print
>Find all instances of the word "include" in .h files:
>bash$ gnufind . -name *.h -exec grep include {} \; -print
>This will work!
It might work, but it would be better to get used to
(gnu)find . -name "*.c" -print
(gnu)find . -name "*.h" -exec grep include {} \; -print
^ ^
>Tage
Bye.
Michael.
--
Michael Hirmke | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX +49 (911) 557664
90489 Nuernberg | E-Mail mailto:mh@mike.franken.de
| WWW http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".