bug-coreutils
[Top][All Lists]
Advanced

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

Re: seq -w floating point incorrect formating


From: Eric Blake
Subject: Re: seq -w floating point incorrect formating
Date: Fri, 13 Feb 2009 18:46:14 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Samuel Hapák on 2/13/2009 5:26 PM:

Hello Samuel,

> seq -w 9 0.5 10
> 
> While I think I should obtain:
> 09.0
> 09.5
> 10.0

Thanks for the report.  This indeed looks odd, and I've confirmed it in
the latest git.  But at least you can work around it:

$ seq -f %04.1f 9 0.5 10
09.0
09.5
10.0

> 
> Version of coreutils on my system is 6.10, I know it is not the most
> recent version, but I've no succes on compiling the most recent version.

Have you tried Jim's latest snapshot?
http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00043.html

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmWImYACgkQ84KuGfSFAYCInwCfdnfeMZCFaSzzWoik200QkMCr
/3wAoKDNsBHQXs+OgFryPc2Pp754AhFr
=7aNk
-----END PGP SIGNATURE-----




reply via email to

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