[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
seq increment '1' even when first > last?
From: |
Tim Waugh |
Subject: |
seq increment '1' even when first > last? |
Date: |
Tue, 20 Jun 2006 09:56:46 +0100 |
Hi,
I'm trying to work out what prompted this change:
2003-09-04 Paul Eggert <address@hidden>
* src/seq.c (step): Default to 1.
(print_numbers): Allow the output to be empty.
(main): The default step is 1, even if LAST < FIRST;
as per documentation.
The original behaviour, of automatically defaulting to -1 when
appropriate, seems on the face of it to be quite useful. I wonder why
the code was changed to match the documentation, rather than the other
way around.
Tim.
*/
signature.asc
Description: This is a digitally signed message part
- seq increment '1' even when first > last?,
Tim Waugh <=