Lots of Unix scripts use the SEQ command to generate number sequences or random numbers. Unfortuanatly this command is missing from BSD Unix, i.e. Mac OS X
However the JOT command is there and works in almost the same way
jot - 1 10
Will produce a numbered list from 1 to 10