delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/22/20:04:10

From: ueda AT prs DOT cs DOT fujitsu DOT co DOT jp (=?iso-2022-jp?B?GyRCPmVFRCEhN3JHNxsoSg==?=)
Subject: Re: CONTINUING Elementary Problems with Find
22 Oct 1997 20:04:10 -0700 :
Message-ID: <344EA128.6FDF.cygnus.gnu-win32@prs.cs.fujitsu.co.jp>
References: <00084699 DOT 3272 AT fhssmtp DOT redstone DOT army DOT mil>
Reply-To: ueda AT prs DOT cs DOT fujitsu DOT co DOT jp
Mime-Version: 1.0
To: GBradfor <GBradfor AT fhssmtp DOT redstone DOT army DOT mil>
Cc: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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