filename expansion

Daniel P.C. da Silva si10647@ci.uminho.pt
Tue Aug 12 14:30:00 GMT 1997


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



More information about the Cygwin mailing list