From: dbe AT wgn DOT net ("$Bill Luebkert") Subject: Re: `find' command broken. 14 Jul 1997 18:47:24 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <33CACE06.11AC.cygnus.gnu-win32@wgn.net> References: Reply-To: dbe AT wgn DOT net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (Win95; I) Original-To: James Dumser Original-CC: GNU-Win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com James Dumser wrote: > For things to work > correctly with zsh, you'd have to start with > find . -name '\'*.c\'' -print Fails in tcsh: Unmatched '. > V which zsh would expand to > find . -name '*.c' -print > V which cygwin would expand to Cygwin doesn't look at quotes in globify. It will glob the *.c regardless of quotes (at least the way I read it). > find . -name *.c -print > which is what we want find to see Exactly, but it never makes it to the program. > So what's the solution? I can think of several: > - don't use non-cygwin, globbing shells > - use non-cygwin utilities > - be very meticulous when you mix non-cygwin shells and cygwin programs > - port your non-cygwin, globbing shell to cygwin (which should be easier > now with Sergery's latest cygwin.dll) What's the matter with fix Cygwin32 to handle quoting properly for non-cygwin32 apps? -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_