ranrodrig has asked for the wisdom of the Perl Monks concerning the following question:
Folks, I need you help cuz I have a 200M ascii file (226'492,416 chars) in a single line and I need to read only the first 3 million of chars
I already tried with head, more, and a "c" pgm, with no luck.
Can you help me with this?, I'm a very novice to Perl and the info in the file is similar to this: $ĈI$ĈI$ĈI$ĈI$ĈI$ĈI$ĈI$ĈI, ◄◄◄◄◄◄◄◄◄, etc.
TIA for your help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need to read certain number of chars in a file
by Marshall (Canon) on Oct 18, 2010 at 15:56 UTC | |
|
Re: Need to read certain number of chars in a file
by halfcountplus (Hermit) on Oct 18, 2010 at 16:16 UTC | |
by ranrodrig (Novice) on Oct 18, 2010 at 20:35 UTC | |
by ikegami (Patriarch) on Oct 19, 2010 at 03:10 UTC |