[lug] Fwd: Simple counter?

Bear Giles bgiles at coyotesong.com
Sat May 25 09:05:57 MDT 2013


He also wanted persistence across reboots.That's where it gets complicated.


On Sat, May 25, 2013 at 8:58 AM, Jeffrey S. Haemer <jeffrey.haemer at gmail.com
> wrote:

>
> 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 9<http://dilbert.com/strips/comic/2001-10-25/>"
> .  :-) (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]
> *פרייהייט? דאס איז יאַנג דינען וואָרט.*
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20130525/e85b3beb/attachment.html>


More information about the LUG mailing list