RANDOM_INT(1) RANDOM_INT(1) NAME random_int - generate a uniform deviate random positive integer SYNOPSIS random_int [-i] [-m max] [-r] [-v] DESCRIPTION Generate a uniform deviate random positive integer. OPTIONS -i Inclusive, (i.e., produce values 1 thru m, instead of 0 thru m - 1). -m max Maximum value of random positive integer, (2, i.e., 0 or 1). -r Randomly return 0 or 1 as the exit value. -v Print the program's version information WARNINGS Warnings for command line error(s). SEE ALSO random_int.1. DIAGNOSTICS Error messages for incompatible arguments. AUTHORS ---------------------------------------------------------------------- A license is hereby granted to reproduce this software source code and to create executable versions from this source code. The copyright notice included with the software must be maintained in all copies produced. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. Copyright (c) 1994-2008, John Conover, All Rights Reserved. Comments and/or bug reports should be addressed to: john@email.johncon.com (John Conover) http://www.johncon.com/ ---------------------------------------------------------------------- January 10, 2008 RANDOM_INT(1)