V
Vandana
Hello All,
I would like to read a file in ruby. It is a 2G file, but
contain useless data in the beginning portion of the file.
There is a particular pattern towards the middle of the file after
which useful data begins. Is there a way to grep for this pattern and
then read every line henceforth, but ignore all lines previous to line
on which pattern found?
Thanks,
Vandana
I would like to read a file in ruby. It is a 2G file, but
contain useless data in the beginning portion of the file.
There is a particular pattern towards the middle of the file after
which useful data begins. Is there a way to grep for this pattern and
then read every line henceforth, but ignore all lines previous to line
on which pattern found?
Thanks,
Vandana