If you're on a Unix system, just use the 'fold' or 'fmt' commands in a pipe open.
Kim Helliwell LSI Logic, Inc 408 433 8475 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 8:11 AM To: beginners@perl.org Subject: Seek wrap reformat routine Does anyone have a simple one-liner that can take a file of text and reformat each paragraph to a new column width? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/