www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/08/15:14:39

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1417
Newsgroups: comp.os.msdos.djgpp
Path: news-dnh.mv.net!mv!news.sprintlink.net!tank.news.pipex.net!pipex!howland.reston.ans.net!ix.netcom.com!netcom.com!tgl
From: tgl AT netcom DOT com (Tom Lane)
Subject: Bug in 1.12m4 filename globbing?
Sender: tgl AT netcom7 DOT netcom DOT com
Organization: Netcom Online Communications Services
Date: Tue, 8 Aug 1995 02:58:23 GMT
Lines: 13
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

I've just noticed that go32 1.12m4 seems to have a bug in wildcard globbing.
The '?' wildcard is not processed correctly at the end of a filename segment.
For example, "abcde?.c" fails to match a file named "abcdef.c".  "abc???.c"
also fails.  But "ab?def.c" does match; even weirder, so does "abcde?.*"!

The [] construct seems to have the same problem.

Is this a known bug?  Am I just nuts?

While I'm asking, is 1.* still being maintained, or should I expect that
such bugs won't be fixed until v2?  If so, how soon will v2 go out of beta?

			regards, tom lane

- Raw text -


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