Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^7: How to print the lines immediately above and below a matching line?

by Kenosis (Priest)
on Nov 26, 2012 at 16:56 UTC ( [id://1005716]=note: print w/replies, xml ) Need Help??


in reply to Re^6: How to print the lines immediately above and below a matching line?
in thread How to print the lines immediately above and below a matching line?

I don't see how that is relevant, gnu grep supports it and is available for every platform, including solaris and windows

Also, ack is egrep

This topic is Bio90's very first request for assistance at PerlMonks. Wouldn't it have been more helpful to have just directly offered grep as a better solution?

  • Comment on Re^7: How to print the lines immediately above and below a matching line?
  • Download Code

Replies are listed 'Best First'.
Re^8: How to print the lines immediately above and below a matching line?
by Anonymous Monk on Nov 27, 2012 at 07:44 UTC

    This topic is Bio90's very first request for assistance at PerlMonks. Wouldn't it have been more helpful to have just directly offered grep as a better solution?

    Why?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1005716]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-26 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found