delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/14/18:47:24

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: <BMSMTP8688934660a0207776 AT dlemail DOT itg DOT ti DOT com>
Reply-To: dbe AT wgn DOT net
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (Win95; I)
Original-To: James Dumser <dumser AT ti DOT com>
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/
-/-' /___/_<_</_</_    Email: dbe AT wgn DOT net
-
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