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

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:42:39 GMT
Organization: Cornell University
Lines: 48
Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-54.syr.east.verizon.net)
Message-ID: <Xns92E2DCDBFDB42asu1cornelledu@132.236.56.8>
References: <Pine DOT GSO DOT 4 DOT 44L-027 DOT 0212122126260 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 1039747359 583 141.149.207.54 (13 Dec 2002 02:42:39 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 13 Dec 2002 02:42:39 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 DOT GSO DOT 4 DOT 44L-027 DOT 0212122126260 DOT 21386-100000 AT unix14 DOT andrew DOT cmu DOT edu:

> 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)
>> >:*/:        <-- what are these supposed to be???
>> >: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. 

It served me well in the past when I had questions.
 
>> i think
>>
>> test \*
>>
>> should list the files and subdirectories in \
> 
> Of course it should.  Why do you ask?

I am not asking. I am suggesting what I think is an answer to the 
question I thought you asked in the quotation above. 

> More importantly, why don't you answer *my* question?

Maybe you can clarify what the question is instead of getting rude.

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