delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/13/07:45:27

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 12:37:45 GMT
Organization: Cornell University
Lines: 27
Sender: asu1 AT cornell DOT invalid (on pool-141-149-209-206.syr.east.verizon.net)
Message-ID: <Xns92E34D9D52424asu1cornelledu@132.236.56.8>
References: <Pine DOT GSO DOT 4 DOT 44L-027 DOT 0212122304010 DOT 23682-100000 AT unix14 DOT andrew DOT cmu DOT edu> <4331-Fri13Dec2002111235+0200-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: pool-141-149-209-206.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1039783065 13340 141.149.209.206 (13 Dec 2002 12:37:45 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 13 Dec 2002 12:37:45 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

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in news:4331-
Fri13Dec2002111235+0200-eliz AT is DOT elta DOT co DOT il:

>> From: "Arthur J. O'Dwyer" <ajo AT andrew DOT cmu DOT edu>
>> Newsgroups: comp.os.msdos.djgpp
>> Date: Thu, 12 Dec 2002 23:12:57 -0500 (EST)

<snip>

>> > ASU: That indeed looks like a bug in that one expects \\ to mean \.
>> 
>> Mm-hm.  I think it's a bug in the globbing code.
> 
> It's not a bug, it's a deliberately programmed feature.  We cannot
> have \\ expand into a single \ because we don't want to break Windows
> UNC file names (\\SERVER\SHARE\DIRECTORY\FILE).

I was a little miffed last night to think of the obvious reason for not 
having \\ expand into \, but I knew there must be reason. Hence the 
reason I said "looks like". Thank you for the correction.

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