From: dbe@wgn.net ("$Bill Luebkert")
Subject: Re: `find' command broken.
14 Jul 1997 18:47:24 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <33CACE06.11AC.cygnus.gnu-win32@wgn.net>
References: <BMSMTP8688934660a0207776@dlemail.itg.ti.com>
Reply-To: dbe@wgn.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 <dumser@ti.com>
Original-CC: GNU-Win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.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/
-/-' /___/_<_</_</_    Email: dbe@wgn.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
