sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

seq.1 (578B)


      1 .Dd 2015-10-08
      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. The default is "\en".
     35 .It Fl w
     36 Print out lines in equal width.
     37 .El
     38 .Sh SEE ALSO
     39 .Xr printf 3