![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: (tye)Re: get the line of ith occurrence of '>' without OPENING THE FILEby clintp (Curate) |
on Oct 05, 2002 at 23:13 UTC ( #203103=note: print w/replies, xml ) | Need Help?? |
If we're going as far as having access to "cat" and "shell", then it might be fun to tinker with "dd" as well. Then the OP can get to just the part of the file he wants to:
dd's useful in Unix for skipping around in large files at the shell level where seek(2) might be a bit more complicated.
In Section
Seekers of Perl Wisdom
|
|