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

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

Replies are listed 'Best First'.
Re^5: Print to specific line
by GotToBTru (Prior) on Jun 23, 2015 at 19:05 UTC

    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