On Thu, Apr 03, 2003 at 04:10:02PM +0100, [EMAIL PROTECTED] said: > Golfish, obvious or downright cunning answers all welcome: > > I'd like to pipe text in (either with just linebreaks, or dos-style > carriage return + linebreak's) and get out word-wrapped lines of not more > than 80 characters prefixed with "> ".
http://search.cpan.org/author/DCONWAY/Text-Autoformat/lib/Text/Autoformat.pm ? Or a combination of Text::Format and s/(\r?\n)/$1 > /mg;