1 |
Mike Frysinger (vapier@g.o) scribbled: |
2 |
> On Saturday 24 April 2004 01:09 pm, Daniel Drake wrote: |
3 |
> > If you make your new behaviour default, you may break many peoples scripts |
4 |
> > that expect the size column to be 8 characters long. |
5 |
> > |
6 |
> > My opinion is that your modification should become accessible only through |
7 |
> > a non-default commandline parameter. |
8 |
> |
9 |
> actually i dont think anyone does that since 8 char is the *max* not the size |
10 |
> *always* used |
11 |
|
12 |
? Here is the output of my `ls -l` after creating 15 5k files w/ dd. |
13 |
|
14 |
total 120 |
15 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp01 |
16 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp02 |
17 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp03 |
18 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp04 |
19 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp05 |
20 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp06 |
21 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp07 |
22 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp08 |
23 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp09 |
24 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp10 |
25 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp11 |
26 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp12 |
27 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp13 |
28 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp14 |
29 |
-rw-r--r-- 1 jcooper users 5120 Apr 29 07:39 temp15 |
30 |
| | | | <---8 chars and a space. |
31 |
|
32 |
This is with the unmodified version. It appears to be staying with |
33 |
eight chars width. What version of coreutils are you using? I'm using: |
34 |
|
35 |
* sys-apps/coreutils |
36 |
Latest version available: 5.0.91-r4 |
37 |
Latest version installed: 5.0.91-r4 |
38 |
> |
39 |
> i was just programming something when i noticed that i had a dir of files that |
40 |
> all were under 10000bytes ... then i made a file (by accident) that had more |
41 |
> than that ... the output of `ls -l` changed to accomodate the larger file ... |
42 |
> when i deleted it, the # of chars used to output the size shrunk from |
43 |
> before ... |
44 |
> |
45 |
> so i dont think you'd break anything if the new patch became default |
46 |
> behavior ... 'proper' parsing would have done it via awk or cut or something |
47 |
> that operated on existence of whitespace (and not the size) as the |
48 |
> delimiter ... |
49 |
> |
50 |
> as such, please file a bug with your patch Jason and assign it to |
51 |
> base-system@g.o |
52 |
> -mike |
53 |
|
54 |
Working on it. :) |
55 |
|
56 |
|
57 |
Cooper. |
58 |
|
59 |
-- |
60 |
gentoo-dev@g.o mailing list |