Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Remove line above matching criteria

by kwaping (Priest)
on Nov 20, 2006 at 17:48 UTC ( #585098=note: print w/replies, xml ) Need Help??


in reply to Re: Remove line above matching criteria
in thread Remove line above matching criteria

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://585098]
help
Chatterbox?
[erix]: comic relief: how to start a riot and a fortune at the same time
[beech]: :) thats too generous to jdporter, don't start none won't be none -- there is about two decades (rounding up) worth of "ineffective" node titles -- leave the pope alone :p
[erix]: infallibility breeds inquisition

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-01-17 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.