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

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

by roboticus (Chancellor)
on Nov 25, 2012 at 19:16 UTC ( [id://1005519]=note: print w/replies, xml ) Need Help??


in reply to Re^4: 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.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

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

Replies are listed 'Best First'.
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

    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-19 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found