www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/23/16:19:43

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: CONTINUING Elementary Problems with Find
23 Oct 1997 16:19:43 -0700 :
Message-ID: <6gRbUMN4pfB.cygnus.gnu-win32@mike.franken.de>
References: <00084699 DOT 3272 AT fhssmtp DOT redstone DOT army DOT mil>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019