*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> random (6)              
Title
Content
Arch
Section
 

RANDOM(6)

Contents


NAME    [Toc]    [Back]

     random - random lines from a file or random numbers

SYNOPSIS    [Toc]    [Back]

     random [-er] [denominator]

DESCRIPTION    [Toc]    [Back]

     random reads lines from the standard input and  copies  them
to the standard
  output  with  a probability of 1/denominator.  The default value for
     denominator is 2.

     The options are as follows:

     -e      If the -e option is specified, random does not  read
or write anything,
  and simply exits with a random exit value of
0 to
             denominator - 1, inclusive.

     -r      The -r option guarantees  that  the  output  is  unbuffered.

SEE ALSO    [Toc]    [Back]

      
      
     fortune(6)

OpenBSD      3.6                          March      31,     1994
[ Back ]
 Similar pages
Name OS Title
random FreeBSD supply pseudo-random numbers
srandom FreeBSD supply pseudo-random numbers
arc4rand FreeBSD supply pseudo-random numbers
arc4random FreeBSD supply pseudo-random numbers
read_random FreeBSD supply pseudo-random numbers
fsirand HP-UX install random inode generation numbers
drand48 Linux generate uniformly distributed pseudo-random numbers
dlaruv IRIX return a vector of n random real numbers from a uniform (0,1)
slaruv IRIX return a vector of n random real numbers from a uniform (0,1)
drand48 IRIX generate uniformly distributed pseudo-random numbers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service