bug-coreutils
[Top][All Lists]
Advanced

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

bug in seq command?


From: Luis A. Florit
Subject: bug in seq command?
Date: Fri, 21 Jan 2005 18:13:47 -0200
User-agent: Mutt/1.4.2i

Pals,

        I don't understand why the output of the command:  seq -w 1 0.3 4
is the sequence

        1.0 1.3 1.6 1.9 2.2 2.5 2.8 3.1 3.4 3.7 4.0

while the output of the command:  seq -w 1 0.2 4
is the sequence

        1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8

Why there is no 4.0 in the last sequence?

I use the standard coreutils-5.2.1-7 shipped with Fedora Core 2.

        Cheers,

                Luis.

-- 
 *** http://w3.impa.br/~luis/guerra/guerra.html ***
+---------------------------------------------------+
|            *****  Luis A. Florit  *****             
| IMPA - Est. Dona Castorina, 110, Jardim Botanico 
|       22460-320, Rio de Janeiro, RJ, BRAZIL 
| http://w3.impa.br/~luis  #  e-mail: address@hidden 
|   Phone: (55)(21) 2529-5204  #  Fax: 2529-5129 
+---------------------------------------------------+




reply via email to

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