Hello,
Input and desired output are as follows...
Example 1 (input): 5 12 34-41 71 207
Example 1 (output): 5 12 34 35 36 37 38 39 40 41 71 207
Example 2 (input): 23 69-72 188 195 245-248
Example 2 (output): 23 69 70 71 72 188 195 245 246 247 248
Objective is read from stdin and split the range as shown above to the individual numbers with awk.
Thanks,
AR
Input and desired output are as follows...
Example 1 (input): 5 12 34-41 71 207
Example 1 (output): 5 12 34 35 36 37 38 39 40 41 71 207
Example 2 (input): 23 69-72 188 195 245-248
Example 2 (output): 23 69 70 71 72 188 195 245 246 247 248
Objective is read from stdin and split the range as shown above to the individual numbers with awk.
Thanks,
AR