Date: Tue, 17 Jun 1997 11:12:02 +0300 (IDT) From: Eli Zaretskii To: Boon van der RJ cc: djgpp AT delorie DOT com Subject: Re: peculiarities with ls In-Reply-To: <5o31jh$7pn@star.cs.vu.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 16 Jun 1997, Boon van der RJ wrote: > ls -al shows normal + sys + ro + hidden > -->shouldn't this show the same files as -a, but in the long > format?? Yes, it should. This is a bug in the ported `ls', thanks for reporting it. If you add `--color' or with `-F' options, `-al' and `-a' show the same files. (I always use `--color=auto', that's why I didn't see this bug.) > and if I use the (ignored, according to the docs) -g flag `-g' is NOT ignored in the DJGPP port. I didn't have time to update the official docs, but the DJGPP README file included in the fil316b.zip package clearly says so: A DOS-specific -g switch makes the long format print MSDOS attribute bits (r,h,s,v,d,m) instead of the Unix-style mode bits. When called with -a switch, `ls' will display files with hidden and system attributes, and volume labels (if present). > ls -alg & -Alg & -aLg & -ALg also shows the volume label, > which should never be printed ^^^^^^^^^^^^ Why shouldn't there be a way to display the volume label using Fileutils? It *is*, after all, just another entry in the root directory. IMHO programs have no reason concealing from me some of the info they get anyway. `-g' is a stop-gap for those who don't like seeing the volume label: if you don't say both `-a' and `-g', the label won't show.