On 11/12/14 14:04, Rasmus Borup Hansen wrote:
> I just noticed that the command "seq 0 0 0" produces infinitely many lines of 
> zeros. Is this intentional? I was expecting only a single one. I'm using 8.21 
> on Ubuntu 14.04.

I'm not sure a single line would be appropriate.
It would either be all or none, right?

The info docs say: "The sequence of numbers ends when the sum of
the current number and INCREMENT would become greater than LAST"

So the output is consistent with that at least.

I notice that the FreeBSD version of seq exits with an error
for an increment of 0.

cheers,
Pádraig.

Reply via email to