Sequence between 001010 and 001050

Hi,
i want a script that can generate all the sequence of numbers between 001010 and 001050.
result should be like
001010
001011
001012
.
.
.
001050

Thanks

nawk 'BEGIN { for(i=1010;i<=1050;i++) printf("%06d\n", i) ; exit }'

Replace nawk by awk if not on Solaris.

try (bash shell):

echo {001010..001050}

if want newline,

echo {001010..001050} | tr " " "\n"

it worked.
Thanks

---------- Post updated at 01:11 PM ---------- Previous update was at 12:52 PM ----------

hoew about if i want to double quote them
i tried using "\042" but i could get the desired results
i want it to look like
"001010";
.
.
.
"001050";

echo {001010..001050} | sed -e 's/^/"/g' -e 's/$/"/g' -e 's/ /"\
"/g'

or with jlliagre's solution:

awk 'BEGIN { for(i=1010;i<=1050;i++) printf("\"%06d\"\n", i) ; exit }'
[n]awk 'BEGIN { for(i=1010;i<=1050;i++) printf("\"%06d\";\n", i) ; exit }'

try this

 
seq -f "\"%06g\"" 001010 001050

thank you