Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2006 21:38:29 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        "Marc G. Fournier" <scrappy@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/sysutils/bsdstats Makefile ports/sysutils/bsdstats/files         300.statistics
Message-ID:  <44FFA245.6010803@freebsd.org>
In-Reply-To: <20060907013200.F82634@hub.org>
References:  <200609070422.k874MRUq038944@repoman.freebsd.org> <44FF9F95.5060302@freebsd.org> <20060907013200.F82634@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FFA245.6010803>