1 |
On Thursday 07 December 2006 11:00, Andres Buehlmann wrote: |
2 |
> |
3 |
> I found a problem using seq (from coreutils): |
4 |
> With version 6.4, I get: |
5 |
> |
6 |
> seq -w 0 0.25 1 |
7 |
> 0 |
8 |
> 0.25 |
9 |
> 0.5 |
10 |
> 0.75 |
11 |
> 1 |
12 |
> |
13 |
> I.e., zero padding (with decimals) doesn't work. |
14 |
> |
15 |
> |
16 |
> However, with the older version 5.94, I get as expected: |
17 |
> |
18 |
> seq -w 0 0.25 1 |
19 |
> 0.00 |
20 |
> 0.25 |
21 |
> 0.50 |
22 |
> 0.75 |
23 |
> 1.00 |
24 |
> |
25 |
> Can anybody confirm this? Am I missing something or is it simply |
26 |
> a bug in the newer version? |
27 |
> |
28 |
Yes, it's the same here with sys-apps/coreutils-6.6. The -w switch |
29 |
is not working, despite what the man page says. I suggest you |
30 |
raise a bug report. |
31 |
|
32 |
-- |
33 |
Peter |
34 |
======================================================================== |
35 |
Gentoo Linux: Portage 2.1.2_rc2-r5 kernel-2.6.18-gentoo-r3 |
36 |
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ gcc(GCC): 4.1.1 |
37 |
KDE: 3.5.5 Qt: 3.3.6 |
38 |
======================================================================== |
39 |
-- |
40 |
gentoo-user@g.o mailing list |