CONTINUING Elementary Problems with Find

gnu-win32-request@cygnus.com gnu-win32-request@cygnus.com
Wed Oct 22 18:52:00 GMT 1997


Hi, 

>      Taking my initial command line:
>         find . -name *.c -print
> 
>      gives the following error:
>         find:  Paths must precede expression
>         Usage:  find [path...] [expression]

The shell have expanded "*.c" into several filenames before execute
find.
May be, do you want to do as bellow?

	find . -print | grep '\.c'
-
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