$ perl -ne "print unless /^<\?xml version/ .. /^<\/Info>/" input.xml > +output.pseudoxml
(assuming the </PackageInfo> in your description refers to the </Info> in the data)
See the flip-flop operator.
In reply to Re: delete lines
by almut
in thread delete lines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |