delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/22/09:11:51

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: globbing feature in 17.1 when not under bash issue (bug)
22 Feb 1997 09:11:51 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC20F1.2025DA10.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'David Ellis'"
<dg_ellis AT ccm DOT jf DOT intel DOT com>
Encoding: 17 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

David Ellis wrote:
> 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
> 

In the last case globbing is performed by cmd.exe. Try
 find . -name "*.doc"

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
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