Help need command please

Hello

my input file

 9.12-9.15
15.1-15.7

I need output file like this

 9.12
9.13
9.14
9.15
15.1
15.2
15.3
15.4
15.5
15.6
15.7

thank you for helping

What OS are you on? If linux there is a command to do this - seq start increment finish

seq 15.1 .1 15.7
15.1
15.2
15.3
15.4
15.5
15.6
15.7
3 Likes