Sometimes you don't have the unix util seq available (i.e. macosx). 'jot' is your friend, note the args are backtofront: seq 1 12 = jot 12 1