So, what have you tried so far and where are you getting stuck?
It seems that you need to recognise the values you have then starting with the first value in the range, loop through displaying the required output and adding one to the counter before you go round and see if you have reached the end value.
You would also be better to say what tools you prefer to work in and your OS version (name and release level) in case there are any suggestions that rely on or could exploit the variant that you have.
I just used simple for loop for(INITIALIZATION; CONDITION; AFTERTHOUGHT)
for example :
2dat3 grht-5&&-15
-&& ---> Field Separator 2dat3 grht ---> field1 $1 5 ---> Field2 $2 that is i start 15 -->last Field $NF is i end for(i=5;i<=15;i++)print $1"-"i -->increment i till 15 and print $1 and i