delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/09/11:07:35

From: cgf AT bbc DOT com (Christopher Faylor)
Subject: Re: running gnu-win32 tools under another Unix-ported shell?
9 Jan 1998 11:07:35 -0800 :
Message-ID: <EMIryx.1n4.cygnus.gnu-win32@bbc.com>
References: <u1zyig5y3 DOT fsf AT seanet DOT com>
Reply-To: cgf AT bbc DOT com
To: gnu-win32 AT cygnus DOT com

In article <u1zyig5y3 DOT fsf AT seanet DOT com>,
Scott Blachowicz  <sab AT seanet DOT com> wrote:
>Hi-
>
>I'm sometimes using a port of zsh (not the one built with the cygwin
>toolkit) and when I run the cygwin 'find' command, for instance, it acts
>as if the 'find' command (in its crt0 or whatever?) is expanding globs
>that it gets.  I don't want that to happen because my shell is already
>doing that.  So, if I do this:
>
>    find . -name '*.cpp' -perm +222 -ls
>
>to find writeable .cpp files, I get this error:
>
>    /usr/bin/find.EXE: paths must precede expression
>    Usage: /usr/bin/find.EXE [path...] [expression]
>
>How do the cygwin commands detect their parent & avoid the globbing stuff
>when necessary if using the normal cygwin bash, for instance?  Any
>suggestions?

If you are running the cygwin version of find, this should happen
automatically.  I am running zsh here and I do this all the time.
-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
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