[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
> there...

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],
http://www.youtube.com/user/goyishekop [vlog]
*פרייהייט? דאס איז יאַנג דינען וואָרט.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20130525/31030f5e/attachment.html>

More information about the LUG mailing list