Re: A little bash/perl programming help?
- From: Ivan Marsh <annoyed@xxxxxxx>
- Date: Thu, 27 Sep 2007 15:07:07 -0500
On Thu, 27 Sep 2007 18:43:20 +0000, Mike wrote:
In article <pan.2007.09.27.16.30.11.967926@xxxxxxx>, Ivan Marsh wrote:
I'm trying to write a script to parse out text files into 80 charter
line lengths with column numbering over each line and I just can't seem
to get the logic straight in my head. The desired output would look
(something) like:
123456789012345678901234567890123456789012345678901234567890 All work
and no play makes jack a dull boy. All work and no
123456789012345678901234567
play makes jack a dull boy.
Putting each 80 character section on a separate line with the column
numbers over it.
Do you want all text filled/formatted/compressed to 80 characters or do
you want each line regardless of line length?
The files in question are flat files from database dumps (from different
sources) so theoretically all the lines from the input file should be the
same length.
--
I told you this was going to happen.
.
- References:
- Re: A little bash/perl programming help?
- From: Mike
- Re: A little bash/perl programming help?
- Prev by Date: Re: A little bash/perl programming help?
- Next by Date: Re: A little bash/perl programming help?
- Previous by thread: Re: A little bash/perl programming help?
- Next by thread: Re: A little bash/perl programming help?
- Index(es):
Relevant Pages
|