Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a text file (test.txt) which needs to be parsed; leading whitespace removed, and properly formatted. Then written to an output file.
Here is a snippet of the original file:
The text file is "cascading". I need it to appear more like this:Page 1 Analyze at 24-Nov-03 13:22:38 + 270 Mb Component + 625 lines + Video +Present + + 10 + Bit Video
Any help would be greatly appreciated.Page 1 Analyze at 24-Nov-2003 13:22:38 270 Mb Component 625 lines Video Present 10 Bit Video ...
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text File Parsing.
by Roy Johnson (Monsignor) on Nov 24, 2003 at 21:13 UTC | |
by melora (Scribe) on Nov 25, 2003 at 00:45 UTC | |
|
Re: Text File Parsing.
by duff (Parson) on Nov 24, 2003 at 21:05 UTC | |
|
Re: Text File Parsing.
by Anonymous Monk on Nov 24, 2003 at 21:04 UTC | |
|
Re: Text File Parsing.
by davido (Cardinal) on Nov 25, 2003 at 01:57 UTC | |
by graff (Chancellor) on Nov 25, 2003 at 03:34 UTC | |
|
Re: Text File Parsing.
by Anonymous Monk on Nov 27, 2003 at 16:55 UTC |