This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: `find' command broken.


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]