Keep It Simple, Stupid | |
PerlMonks |
Re^2: Remove line above matching criteriaby kwaping (Priest) |
on Nov 20, 2006 at 17:48 UTC ( [id://585098]=note: print w/replies, xml ) | Need Help?? |
If you're going to go that route, you can also (with GNU grep, at least) grep -B 1 '<id:>' to get the ID line together with the previous line.
--- It's all fine and dandy until someone has to look at the code.
In Section
Seekers of Perl Wisdom
|
|