svn commit: r272918 - stable/10/contrib/one-true-awk

Dmitry Morozovsky marck at rinet.ru
Sat Oct 11 10:09:00 UTC 2014


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 at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the svn-src-all mailing list