L A Walsh <[email protected]> wrote:

> On 2019/06/05 02:06, Joerg Schilling wrote:
> > I believe that there is a 
> > need to be able to check whether a shell hides "." and ".." from the glob
> > results.
> >   
> How will you tell if that is the case, or whether or not the
> underlying OS hides (or provides) them, OR whether or not the
> underlying file system supports them?

This is why the Bourne Shell supports set -o globskipdot since last weekend.

The new code always hides the entries "." and ".." from readdir() and creates 
synthesized entries with "set +o globskipdot" (which is the default).

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
    [email protected] (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to