Mail Archives: djgpp/1997/05/04/06:54:52
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.
- Raw text -