[lug] Fwd: Simple counter?
Jeffrey S. Haemer
jeffrey.haemer at gmail.com
Sat May 25 08:58:29 MDT 2013
> I inferred that the original poster was looking for more of a shell
> script level solution, but I might have been jumping to conclusions
The original poster is looking for an existing command that produces
sequential integers, one per call.
His motivation is a conviction that in the past thirty or forty years, *
someone* must have contributed a standard tool/package that does this,
coupled with embarrassment that he doesn't know it off the top of his head.
A shell one-liner would be an okay substitute: something intermediate
between "echo $RANDOM" and "echo
. :-) (Thanks, Anthony.)
Sure, there are edge-cases, some not obscure: "If we call it a bunch, can't
the numbers get awfully big?" But geez, ....
Jeffrey Haemer <jeffrey.haemer at gmail.com>
720-837-8908 [cell], http://seejeffrun.blogspot.com [blog],
*פרייהייט? דאס איז יאַנג דינען וואָרט.*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LUG