From: si10647 AT ci DOT uminho DOT pt ("Daniel P.C. da Silva") Subject: Re: filename expansion 12 Aug 1997 17:24:23 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <33F0C7A0.8CC00BFA.cygnus.gnu-win32@ci.uminho.pt> References: <311E5922 DOT 9F864639 AT ci DOT uminho DOT pt> <33EFD432 DOT 380D AT wgn DOT 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 AT wgn DOT net Original-Cc: gnu-win32 mailing list X-Priority: 3 (Normal) Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT ci DOT uminho DOT pt ------------------------------------------- - 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".