[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SEQ BUG
From: |
Paul Eggert |
Subject: |
Re: SEQ BUG |
Date: |
Sat, 09 Jun 2007 00:45:26 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> Pádraig Brady <address@hidden> wrote:
> ...
>> Another thing I just noticed. I would expect the precision
>> of all output in the following command to be to 2 decimal places not 1:
>> $ seq 0.00 0.01 0.90 | grep "\.[0-9]$"
>> 0.1
>> 0.2
>> 0.3
>> 0.4
>> 0.5
>> 0.6
>> 0.7
>> 0.8
>> 0.9
>
> Well, at least with the very latest from coreutils and libc6-2.5-10
> from Debian unstable, I get what you (and I) would expect:
>
> $ seq 0.00 0.01 0.90 | grep '\.[0-9]$'
> $
>
> However, with ubuntu's 2.5-0ubuntu14, I do see the same offending behavior
> you quote above.
I don't. I get the expected behavior. I compiled on Ubuntu 7.04 with
libc6 2.5-0ubuntu14. This is on an x86-64 platform; perhaps that's
the difference? Or perhaps you were using the Ubuntu-supplied seq,
which is coreutils 5.97?
- Re: SEQ BUG, Jim Meyering, 2007/06/07
- Re: SEQ BUG,
Paul Eggert <=