in reply to
Read Some lines in Tera byte file
Isn't this the same question as How to read 1 td file? Perhaps mount the remote disk and use something like Tie::File, or run your script on the remote server.
use something like Tie::File,
Please try this yourself--say read the middle line in a 1 or 2GB file--before suggesting it to others.
I posted from my phone, I couldn't realistically try this at the time. It is, as I suppose you're suggesting, pretty darn slow. I'd used Tie::File in the past, but not with files this large.
Tie::File remembers the position of the lines it has encountered. Not problem if you want to read lines 100 to 200.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (627 votes),