On Wed, 1 Oct 2003 10:36:47 -0500 (CDT)
Adam Maloney <adamm at sihope.com> wrote:
>Jot is a neat one - it's part of standard BSD, I've never seen it included
>in a Linux distro.  From the manpage:
>NAME
>     jot - print sequential or random data
>
>Yeah, it sounds really dull and stupid, but you wouldn't believe how handy
>it is.  Like to setup an in-addr zone quickly:
>
>jot 254 1 | \
>awk '{ printf("%s\t\tIN\tPTR\t192-168-1-%s.domain.com.\n", $1, $1) }'
>gives:
>1               IN      PTR     192-168-1-1.domain.com.
>2               IN      PTR     192-168-1-2.domain.com.
>...
>254		IN	PTR	192-168-1-254.domain.com.


The example you did here can also be done with seq

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list