bug-gnulib
[Top][All Lists]
Advanced

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

Re: SEQ BUG


From: Jim Meyering
Subject: Re: SEQ BUG
Date: Sat, 09 Jun 2007 11:12:55 +0200

Paul Eggert <address@hidden> wrote:
> 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?

Hmm.  I must have had unusual PATH settings when I did that.
The very latest coreutils tools are normally first in my PATH.
Now I see the desired behavior.

Thanks.




reply via email to

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