In article <393ED102.BDF59B16@kasey.umkc.edu>, "David L. Nicol" <david@kasey.umkc.edu> wrote: > Yitzchak Scott-Thoennes wrote: > > > Am I missing something ? > > Nope, except for the backwards angle bracket RK pointed out. Oops. > > > perl -pe 's/(.{1,80})\s/$1\n/g' > > > > I would make that (.{1,80}\S)\s+ Double oops. (I forgot to make that 0,79). > ***** > > Word processors in the eighties had "justify" features that > would right-justify text on fixed-width printers, by adding spaces. > > Text::Wrap does not have a justify feature. Looking at > CPAN, there is Text::WrapProp but that is concerned with proportional > typefaces, with their widths stored in a table. > > > I have seen web pages "formatted" as plain text with old-style > right-justification, as a joke. I've seen it done in email too. It's all but unreadable to me. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe