Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Anonymous Monk
on Nov 26, 2012 at 09:42 UTC ( #1005601=note: print w/ replies, xml ) Need Help??


in reply to Re^5: 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'm not talking about this program specifically, I was simply responding to the "a waste of memory" statement.

Yes, you were purposefully being obtuse -- sure memory is free and there to be used, but so what? doesn't mean every little program should slurp files for the fun of it to avoid an extra 5 lines of code


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-08-22 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls