Date: Sun, 4 May 1997 13:38:32 +0300 (IDT) From: Eli Zaretskii To: Chris Croughton cc: djgpp AT delorie DOT com Subject: Re: problem with glob() In-Reply-To: <97May1.200126gmt+0100.16660@internet01.amc.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 1 May 1997, Chris Croughton wrote: > But on Unix you can override it by saying > > $ a.out .* > > which will return all the normally hidden files starting with > a dot. How about doing that in MSDOS - as files starting with > dot are invalid, remove the dot and allow only hidden files > just like in Unix? I'm not sure this won't make problems. Recall that Windows 9x allows leading dots. But feel free to post a source patch for `glob' that works like you describe. (Personally, I think this is largely a non-issue. Why would anybody need to have hidden files on MS-DOS anyway? Just unhide them and live happily ever after.) Btw, "a.out foobar" works with DJGPP even if foobar is hidden, i.e. `glob' doesn't fail if you mention the filename explicitly.