[TUHS] V7 ls and dot files?

Roberto E. Vargas Caballero k0ga at shike2.net
Mon Apr 28 00:20:38 AEST 2025


Hi,

On Sun, Apr 27, 2025 at 04:51:08PM +0300, Aharon Robbins wrote:
> Hi All.
> 
> The V7 ls.c ignores `.' and `..', unless given the -a option.
> 
> The V1 - V6 ls ignores all files that start with `.', unless given -a,
> and this is the default for all modern versions of ls.
> 
> BWK tells me there's a story about the V7 behavior but he doesn't
> remember what it is.  Does anyone here know?

I suppose this is related to [1]. I suppose Rob can give more details
as he wrote the original post.

[1] http://xahlee.info/UnixResource_dir/writ/unix_origin_of_dot_filename.html

Regards,


More information about the TUHS mailing list