in reply to Re^2: Print to specific line
in thread Print to specific line

In what way will it not work?

Dum Spiro Spero

Replies are listed 'Best First'.
Re^4: Print to specific line
by 1nickt (Canon) on Jun 23, 2015 at 18:54 UTC

    Because it doesn't account for non-sequential numbers and therefore doesn't meet the spec.

      Okay, I missed the fact that the lines needed not just be sorted, but there might be blank lines required. That is not precluded by the very sparse spec. It might have been clearer if you had provided what the output file should have looked like.

      Dum Spiro Spero