bug-coreutils
[Top][All Lists]
Advanced

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

Re: right-justification of uid's/gid's is a mistake.


From: Paul Eggert
Subject: Re: right-justification of uid's/gid's is a mistake.
Date: Thu, 15 Apr 2004 00:32:56 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Bauke Jan Douma <address@hidden> writes:

> I think there's no justification (pun intended) for the current
> right-justification of uid's/gid's -- it really looks ugly.

In some cases it looks better, in some cases it looks worse.
Here's an example where it looks better:

   $ old-ls -l a b c
   -rw-r--r--    1 99       109             0 Apr 15 00:20 a
   -rw-r--r--    1 1000000  9999999         0 Apr 15 00:20 b
   -rw-r--r--    1 99999999 10000000        0 Apr 15 00:20 c
   $ new-ls -l a b c
   -rw-r--r--  1       99      109 0 Apr 15 00:20 a
   -rw-r--r--  1  1000000  9999999 0 Apr 15 00:20 b
   -rw-r--r--  1 99999999 10000000 0 Apr 15 00:20 c

as integers are usually printed right-adjusted, not left-adjusted.

I agree that your example looks a bit outre, but then the data were
pretty outre too.

One possible change would be to right-adjust the numbers, but to have
their right margin be at a minimal location.  That would cause the
output to have the "clean formatting" that you suggested, while still
preserving the right-adjustedness of numbers in the example above.




reply via email to

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