delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/21/16:23:32

From: dg_ellis AT ccm DOT jf DOT intel DOT com (David Ellis)
Subject: globbing feature in 17.1 when not under bash issue (bug)
21 Feb 1997 16:23:32 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <330E1D93.789F.cygnus.gnu-win32@ccm.jf.intel.com>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I don't remember where I read this, but I remember that a new
feature of 17.1 (possibly earlier) was to make globing work on
command lines if the program was not invoked under bash. Seems to me
that quoting of arguments was overlooked. Here is the test case

  find . -name '*.doc'

Works great under bash but does a glob under cmd.exe and comes up
with an effective comand line like:
  find . -name barf.doc two.doc more.doc

which is not very valid for find syntax.

<hope this is not a repeat>
<please add me to the mailing list>

   David Ellis  dg_ellis AT ccm DOT jf DOT intel DOT com
-
For help on using this list, 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