Updates after mksh testing
Updates after mksh testing

Plenty of updates in this commit.  I've been testing with ksh88i when possible and mksh as well.

The nMax auto-detection method has been updated because mksh has a weird integer wraparound problem where it will printf a high integer just fine, but programmatically it appears to be limited to a far lower number.

I've added an undocumented '-D' switch that invokes 'set -x' for improved debugging

I've updated the nCount !> nMax check to no longer die, but instead to dump out an informational, update nCount and continue.

I've added some preliminary code for a xorshift generator.  This is not plumbed in yet as it requires more testing.

I've added a function that tries to figure out the epoch, as ksh88i testing has reminded me that 'date +%s' isn't entirely portable.

I've applied DRY to the main if/else group by putting their common code into Fn_repeat

mawk appeared to behave predictably and repeatedly all of a sudden.  gawk and nawk showed no such problems.  Dropped mawk.
rawiriblundell/scripts,rawiriblundell/scripts