Paul Eggert <address@hidden> wrote:
> While reviewing my earlier patch about "ls" and output columns,
> I noticed that coreutils 5.1.0 "ls -m" outputs unnecessary spaces
> between comma and newline, and also before the inode number and the
> size (if specified). Here's a patch.
>
> 2003-12-23 Paul Eggert <address@hidden>
>
> * src/ls.c (length_of_file_names_and_frills):
> Remove forward decl; not needed.
> (print_file_name_and_frills, length_of_file_name_and_frills):
> With -m, don't output spaces before inum or size.
> (print_with_commas): Don't output space just before newline.
Thank you.
I've applied that along with a couple of new tests.