ファイル内の特定のブロックを削除するのを手伝ってください。
入力のような、
<section_begin> a01
dfasd
adfa
<section_end>
<section_begin> a02
..
eld
...
1 error reported
...
<section_end>
<section_begin> a03
qwre
adfa
<section_end>
特定のブロックを削除したい
<section_begin> a02
..
search_string
...
<section_end>
以下のコマンドは、最初のセクションも返します。
perl -ne 'print if /<section_begin>/../eld/' a1exp