You're replying to a comment by Seungwon Jeong.

October 17, 2009, 17:19

I'm not quite sure, but I think your explanation of No. 54 is incorrect.

You said,

“D” deletes the current line (line that matched “/regexp/”) from pattern space and finally “h” gets executed again, that puts the contents of pattern space into hold buffer.

But, "D" command deletes the current line and start next cycle immediately. So last "h" command will not execute. But, previous "x" command stored the current line (not the next line) into the hold buffer already. And pattern space has the next line because of the "D" command.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "sandbox_117": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.