[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: seq: if FIRST is smaller than LAST
From: |
Andreas Schwab |
Subject: |
Re: seq: if FIRST is smaller than LAST |
Date: |
Mon, 14 Jun 2004 17:57:46 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Karl Eichwalder <address@hidden> writes:
> Reading the --help text of 'seq' (5.1.3 from alpha)
This is very old. Latest release is 5.2.1.
> I'm inclined to assume
>
> seq 3 1
>
> and
>
> seq 3 -1 1
>
> should result in the same output:
>
> 3
> 2
> 1
>
> But 'seq 3 1' does not produce any output. The --help text:
What do you think is unclear about this sentence?
That is, an omitted INCREMENT defaults to 1 even when LAST is smaller
than FIRST.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."