"David Favro" <address@hidden> wrote:
> I am running FSF ls version 5.2.1 on Fedora Core 2 (i.e. Linux
> distribution) -- it is the binary version of ls that was distributed
> with the Fedora Core 2 Linux distribution. The --format=vertical
> option seems to me to be broken: it is documented to be the same as
> -C, but in addition to not producing the same output, it produces
> seemingly erroneous output (output shown below).
...
> /etc/rc.d % ls -C
> init.d rc rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rc.local
> rc.sysinit
> /etc/rc.d % ls --format=vertical
> (null) init.d
> (null) rc
> (null) rc0.d
...
Thanks for the report.
Would you please see if you can reproduce the problem
using ls built from these unmodified sources?
ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.gzftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.bz2
I'm pretty sure the version that comes with RH/Fedora includes
significant patches.