bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils "ls -m" outputs unnecessary spaces


From: Jim Meyering
Subject: Re: coreutils "ls -m" outputs unnecessary spaces
Date: Wed, 24 Dec 2003 17:40:09 +0100

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]