From: "A. Sinan Unur" 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: References: <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" wrote in news:4331- Fri13Dec2002111235+0200-eliz AT is DOT elta DOT co DOT il: >> From: "Arthur J. O'Dwyer" >> Newsgroups: comp.os.msdos.djgpp >> Date: Thu, 12 Dec 2002 23:12:57 -0500 (EST) >> > 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