From: si10647@ci.uminho.pt ("Daniel P.C. da Silva")
Subject: Re: filename expansion
12 Aug 1997 17:24:23 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <33F0C7A0.8CC00BFA.cygnus.gnu-win32@ci.uminho.pt>
References: <311E5922.9F864639@ci.uminho.pt> <33EFD432.380D@wgn.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [en] (Win95; I)
Original-To: dbe@wgn.net
Original-Cc: gnu-win32 mailing list <gnu-win32@cygnus.com>
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32@cygnus.com

$Bill Luebkert wrote:

> There is a bug (IMHO) in the argument passing of non-cygwin shells.
> Cygwin assumes that the shell has no globbing ability and globs
> the cmdline.  Furthermore, it ignores ' and ", so you can't escape
> it.  I think I may have found a kludge around it though.
>
> Try:
>   xargs find . -name
>   *.pl -print
>   ^Z
> or
>   xargs find . -name
>   *.pl
>   -print
>   ^Z

Other solution is to write a program, not cygnus win32, that echoes his
arguments to sh.Like this 4dos batch file: (called "sh-c.btm")

@echo off
echo %&  |  sh

Now, I can call a cygnus win 32 command:

sh-c  find . -name "*.pl"

--
-------------------------------------------
Daniel P.C. Silva     Universidade do Minho
si10647@ci.uminho.pt
-------------------------------------------


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
