Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 14:08:56 +0400 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, "Pedro F. Giffuni" <pfg@freebsd.org>, src-committers@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r272918 - stable/10/contrib/one-true-awk
Message-ID:  <alpine.BSF.2.00.1410111407050.6601@woozle.rinet.ru>
In-Reply-To: <20141011064308.GN19486@ivaldir.etoilebsd.net>
References:  <201410102318.s9ANIjps063160@svn.freebsd.org> <20141011064308.GN19486@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Oct 2014, Baptiste Daroussin wrote:

> > --- stable/10/contrib/one-true-awk/awk.1	Fri Oct 10 22:18:09 2014	(r272917)
> > +++ stable/10/contrib/one-true-awk/awk.1	Fri Oct 10 23:18:44 2014	(r272918)
> > @@ -208,7 +208,7 @@ or of
> >  if no argument.
> >  .TP
> >  .B rand
> > -random number on (0,1)
> > +random number on [0,1)
> --------------------^
> 
> The above looks like a typo

Doesn't really: random number *could* be zero, hence inclusive (square) 
bracket.  (on the other side, it could never be exactly 1, hence 
exclusive, round bracket at the right side).

And, yes, unbalanced brackets on those math are disturbing ;-P


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1410111407050.6601>