www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/12/21:45:09.1

From: "Arthur J. O'Dwyer" <ajo AT andrew DOT cmu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in command-line globbing
Date: Thu, 12 Dec 2002 21:27:29 -0500 (EST)
Organization: Carnegie Mellon, Pittsburgh, PA
Lines: 33
Message-ID: <Pine.GSO.4.44L-027.0212122126260.21386-100000@unix14.andrew.cmu.edu>
NNTP-Posting-Host: smtp6.andrew.cmu.edu
Mime-Version: 1.0
X-Trace: bb3.andrew.cmu.edu 1039746449 27623 128.2.10.86 (13 Dec 2002 02:27:29 GMT)
X-Complaints-To: advisor AT andrew DOT cmu DOT edu
NNTP-Posting-Date: 13 Dec 2002 02:27:29 GMT
In-Reply-To: <Xns92E2D92A62FCAasu1cornelledu@132.236.56.8>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 13 Dec 2002, A. Sinan Unur wrote:
>
> "Arthur J. O'Dwyer" <ajo AT andrew DOT cmu DOT edu> wrote in news:Pine.GSO.4.44L-
> 027 DOT 0212122038250 DOT 21386-100000 AT unix14 DOT andrew DOT cmu DOT edu:
>
> > If someone believes this is correct behavior, please tell me how to
> > produce the output
> >
> > % test (something goes here)
> >:*/:
> >:hello:
> >
> > from the above program (assuming the program is called from a directory
> > containing one or more subdirectories, of course).
>
> see http://www.delorie.com/djgpp/v2faq/faq16_1.html for a detailed
> explanation of globbing behavior.

That is not "detailed", not even to someone who knows the Unix rules well.

> i think
>
> test \*
>
> should list the files and subdirectories in \

Of course it should.  Why do you ask?
More importantly, why don't you answer *my* question?

-Arthur


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019