seq- - [FUNIX] print a sequence of numbers (LICENSE:PD)
Synopsis
Description
Options
Example
Author
License
seq- LAST [OPTION] ... seq- FIRST LAST [OPTION] ... seq- FIRST INCREMENT LAST [OPTION] ...
Print numbers from FIRST to LAST, in steps of INCREMENT.
FIRST,LAST,INCREMENT The values have the following restrictions
o If FIRST or INCREMENT is omitted, they will default to 1. o The sequence ends when the sum of the current number and INCREMENT would become greater than LAST. o FIRST, INCREMENT, and LAST are interpreted as floating point values. o INCREMENT must be positive if FIRST is smaller than LAST or no output is produced. o INCREMENT must be negative if FIRST is greater than LAST or no output is produced. o INCREMENT must not be 0. o none of FIRST, INCREMENT and LAST may be NaN. -f FORMAT The Fortran FORMAT used to print the values. Use a floating-point Fortran FORMAT for printing values unless FIRST, LAST, and INCREMENT are all whole numbers. Then the format must be suitable for printing one argument of type INTEGER. The format defaults to "(g0,/)" --help display this help and exit --version output version information and exit
sample usage
seq- 1 1 10 -f (i0) 12345678910seq- 1 1 3 1 2 3
seq- 1 -1 -10 -f (i0.3,":") 001:000:-001:-002:-003:-004:-005:-006:-007:-008:-009:-010:
John S. Urban
Public Domain
Nemo Release 3.1 | seq- (1) | February 23, 2025 |