seq.1 (583B)
1 .Dd October 8, 2015 2 .Dt SEQ 1 3 .Os sbase 4 .Sh NAME 5 .Nm seq 6 .Nd print a sequence of numbers 7 .Sh SYNOPSIS 8 .Nm 9 .Op Fl w 10 .Op Fl f Ar fmt 11 .Op Fl s Ar sep 12 .Op Ar startnum Op Ar step 13 .Ar endnum 14 .Sh DESCRIPTION 15 .Nm 16 writes a sequence of numbers from 17 .Ar startnum 18 (default: 1) to 19 .Ar endnum 20 in 21 .Ar step 22 intervals (default: 1) 23 to stdout. 24 .Sh OPTIONS 25 .Bl -tag -width Ds 26 .It Fl f Ar fmt 27 Use 28 .Ar fmt 29 as the output line format according to 30 .Xr printf 3 . 31 .It Fl s Ar sep 32 Print 33 .Ar sep 34 between output lines. 35 The default is "\en". 36 .It Fl w 37 Print out lines in equal width. 38 .El 39 .Sh SEE ALSO 40 .Xr printf 3