4 # Collects and counts the output of multiple invocations over the same input stream.
5 # Counts ought to be roughly the same, based on quality of random source.
8 seq $1 | .
/reservoir_sample
-r /dev
/random
2>/dev
/null
17 local note
=`expr $i % 1000`
20 echo "... iteration $i of $2" 1>&2
26 invoke_n_i
$1 $2 | sort -n | uniq -c