[PLUG] some awk-fu or perl to word wrap a text file?

drew wymore drew.wymore at gmail.com
Wed Oct 17 05:34:36 UTC 2007


On 10/16/07, Don J. <auderive at gmail.com> wrote:
>
> Hi all,
>
> My perl skills are still in the very preliminary stages (although I
> highly recommend the "Learning Perl" book from O'Reilly!), but might
> anyone know how I could take a large text file that has no hard
> wrapping, and apply hard wraps every 80 characters or so? Something
> short and to the point would be best.
>
> Any ideas?
>
> Don


http://www.bayview.com/blog/2002/08/02/textwrap/



More information about the PLUG mailing list