CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2016/08/16 10:49:24

Modified files:
        usr.bin/jot    : jot.c 

Log message:
Streamline and refactor the code a bit more:

There are two sentinels for infinite output: infinity == true and reps == 0.
Ensure that infinity is set to true whenever reps is set to zero, then we
can always use 'if (infinity)'.

This allows us to merge the loop for deterministic output into the first
if (!randomize) statement, which is a lot tidier.

Insert an occasional empty line.

"move fast and break stuff" tedu

Reply via email to