> >diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1 > >index 514f989..e1c8ccc 100644 > >--- a/usr.bin/awk/awk.1 > >+++ b/usr.bin/awk/awk.1 > >@@ -487,7 +487,7 @@ to > >and returns the previous seed. > >If > >.Fa expr > >-is omitted, the time of day is used instead. > >+is omitted, the random number generator is seeded in a system dependant > >manner. > >.El > >.Ss String Functions > >.Bl -tag -width "split(s, a, fs)" > > that's not exactly true, since no generator is seeded; srand() is > bypassed completely and arc4random(3) is used _instead_. in that light, > i think something like this would be better: > > If > .Fa expr > is omitted, > .Xr arc4random 3 > is used to generate random numbers in subsequent > .Fn rand > calls. I agree - that reads better.
cheers, natano
