Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] coreutils patch for 'ls -l' of GB files
Date: Thu, 29 Apr 2004 04:54:12
Message-Id: 200404290054.08309.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] coreutils patch for 'ls -l' of GB files by Daniel Drake
1 On Saturday 24 April 2004 01:09 pm, Daniel Drake wrote:
2 > If you make your new behaviour default, you may break many peoples scripts
3 > that expect the size column to be 8 characters long.
4 >
5 > My opinion is that your modification should become accessible only through
6 > a non-default commandline parameter.
7
8 actually i dont think anyone does that since 8 char is the *max* not the size
9 *always* used
10
11 i was just programming something when i noticed that i had a dir of files that
12 all were under 10000bytes ... then i made a file (by accident) that had more
13 than that ... the output of `ls -l` changed to accomodate the larger file ...
14 when i deleted it, the # of chars used to output the size shrunk from
15 before ...
16
17 so i dont think you'd break anything if the new patch became default
18 behavior ... 'proper' parsing would have done it via awk or cut or something
19 that operated on existence of whitespace (and not the size) as the
20 delimiter ...
21
22 as such, please file a bug with your patch Jason and assign it to
23 base-system@g.o
24 -mike
25
26 --
27 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] coreutils patch for 'ls -l' of GB files Jason Cooper <gentoo@××××××××××.net>