cvs commit: ports/sysutils/bsdstats Makefile ports/sysutils/bsdstats/files 300.statistics

Colin Percival cperciva at freebsd.org
Wed Sep 6 21:40:38 PDT 2006


Marc G. Fournier wrote:
> On Wed, 6 Sep 2006, Colin Percival wrote:
>> Marc G. Fournier wrote:
>>>   Fix it to use sum instead of openssl
>>
>> Why not use jot -r?
> 
> Because I'd never heard of it until now? :)  Is it available on all the
> BSDs, and releases, or something newish?  Can you provide code to use it?

According to cvsweb, jot -r was in 4.4-lite.  I don't know if it was around
before that.  Example usage from `portsnap cron`:
	sleep `jot -r 1 0 3600`
which sleeps for a random time between 0 and 3600 seconds.

Colin Percival


More information about the cvs-all mailing list