in reply to Re^2: Extracting full digits from a range
in thread Extracting full digits from a range
Works for me. Is there any whitespace in the input file (a space at the end of the line)?
You migh also suffer from buffering: print a newline after printing the range.