in reply to Parse string greater than 2GB
In a one-liner:
$ perl -pe 's/\n//' /path/to/data
Of course this does mean you don't get the length shown. But that is an easy fix, simply pipe it into wc -.
~Thomas~
"Excuse me for butting in, but I'm interrupt-driven..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse string greater than 2GB
by rjt (Curate) on Jun 30, 2013 at 09:32 UTC |