anthonysj has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (data formatting)
I'm reading text from a file where each paragraph is stored as a single line. Some of the these lines are quite long. How can I print the text so that it wraps each paragraph to lines that are no more than 70 characters long?
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to wrap text to a maximum width of 70 characters per line?⭐
by cwest (Friar) on Oct 18, 2000 at 19:39 UTC | |
|
Re: How to wrap text to a maximum width of 70 characters per line?⭐
by japhy (Canon) on Oct 18, 2000 at 19:39 UTC | |
|
Re: How to wrap text to a maximum width of 70 characters per line?
by cLive ;-) (Prior) on Apr 02, 2001 at 22:57 UTC | |
|
Re: How can I get perl to print a max. # of 70 characters per line from a file
by davorg (Chancellor) on Oct 18, 2000 at 19:41 UTC | |
|
Re: How can I get Perl to print a max. # of 70 characters per line from a file
by cLive ;-) (Prior) on Apr 03, 2001 at 12:07 UTC |