You're viewing a comment by Paul and its responses.

Paul Permalink
July 29, 2009, 17:56

More understandable in awk. Use a BEGIN case to initialise marker patterns e.g. reB = "^### START ###" and similarly reE. Then fast-forward over the section you want to delete.

awk '{ print; if ($0 ~ reB) while (getline > 0) if ($0 ~ reE) { print; break; }'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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