ftp.nice.ch/pub/next/science/mathematics/statPerlman.5.4.N.bd.tar.gz#/stat/doc/series.man

This is series.man in view mode; [Download] [Up]

SERIES(1)                          |STAT                   October 24, 1986

NAME
     series - generate an additive series of numbers

SYNOPSIS
     _s_e_r_i_e_s start end [stepsize]

DESCRIPTION
     _s_e_r_i_e_s prints the real numbers from _s_t_a_r_t to _e_n_d, one per line.  If
     _s_t_e_p_s_i_z_e is not specified, it is assumed to be of unit size.  _s_e_r_i_e_s
     begins with _s_t_a_r_t to which _s_t_e_p_s_i_z_e is repeatedly added or subtracted,
     as appropriate, to approach, possibly meet, but not pass _e_n_d.

EXAMPLE
     To make a random permutation of the numbers 1 to 100:
          series 1 100 | perm
     or
          series 100 1 | perm

LIMITATIONS
     The reported number of significant digits is limited.  If the ratio of
     the series range to the _s_t_e_p_s_i_z_e is too large, several numbers in a
     row will be equal.

     The maximum length of a series is limited to the size of the maximum
     long integer that can be represented on the machine in use.  Exceeding
     this value has undefined results.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.