Generates consecutive numbers

yes '' | cat -n