Newsgroups: comp.unix.questions
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik
From: jik@athena.mit.edu (Jonathan I. Kamens)
Subject: Re: random numbers in awk?
Message-ID: <1991Apr24.100823.26062@athena.mit.edu>
Sender: news@athena.mit.edu (News system)
Organization: Massachusetts Institute of Technology
References:  <26019@adm.brl.mil> <1991Apr24.041134.14519@athena.mit.edu>
Date: Wed, 24 Apr 91 10:08:23 GMT
Lines: 13

In article <1991Apr24.041134.14519@athena.mit.edu>, I write:
|> You would call "jot -r 1 max" where "max" is the number of records from which
|> you are selecting.

I should have said "jot -r 1 1 max", rather than "jot -r 1 max".  The former
tells jot to produce 1 number between 1 and max; the latter tells jot to
produce 1 number between max and 100, which is the default maximum value.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
