delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/12/21:30:05.1

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in command-line globbing
Date: 13 Dec 2002 02:20:51 GMT
Organization: Cornell University
Lines: 28
Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-54.syr.east.verizon.net)
Message-ID: <Xns92E2D92A62FCAasu1cornelledu@132.236.56.8>
References: <Pine DOT GSO DOT 4 DOT 44L-027 DOT 0212122038250 DOT 21386-100000 AT unix14 DOT andrew DOT cmu DOT edu>
NNTP-Posting-Host: pool-141-149-207-54.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1039746051 583 141.149.207.54 (13 Dec 2002 02:20:51 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 13 Dec 2002 02:20:51 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

i think

test \*

should list the files and subdirectories in \


-- 
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov

- Raw text -


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