Mail Archives: djgpp/1997/06/17/04:13:04
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.
- Raw text -