CONTINUING Elementary Problems with Find

Michael Hirmke mh@mike.franken.de
Thu Oct 23 14:42:00 GMT 1997


Hi,

[...]
>        find . -name *.c -print
         find . -name "*.c"
>
>     gives the following error:
>        find:  Paths must precede expression
>        Usage:  find [path...] [expression]

If you don't include a "*" into "", it will be expanded by the shell,
which will confuse find.

Btw. -print is obsolete with the GNU versions of find.

[...]
>     Thanks again for your patience and your help.
>
>     /s/
>     Pat Bradford

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".



More information about the Cygwin mailing list