mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-30 01:47:56 +00:00
75 lines
2.4 KiB
Plaintext
75 lines
2.4 KiB
Plaintext
|
= 2001/09/29
|
||
|
|
||
|
Philip Newton <Philip.Newton@gmx.net> sent in a clean patch that
|
||
|
added support for defining words differently; that prevents
|
||
|
Text::Wrap from untainting strings; and that fixes a documentation
|
||
|
bug.
|
||
|
|
||
|
So that fill.t can be used in the version included in the perl
|
||
|
distribution, fill.t no longer uses File::Slurp.
|
||
|
|
||
|
Both Sweth Chandramouli <svc@sweth.net> and Drew Degentesh
|
||
|
<ddegentesh@daed.com> both objected to the automatic unexpand
|
||
|
that Text::Wrap does on its results. Drew sent a patch which
|
||
|
has been integrated.
|
||
|
|
||
|
Way back in '97, Joel Earl <jrearl@VNET.IBM.COM> asked that
|
||
|
it be possible to use a line separator other than \n when
|
||
|
adding new lines. There is now support for that.
|
||
|
|
||
|
= 2001/01/30
|
||
|
|
||
|
Bugfix by Michael G Schwern <schwern@pobox.com>: don't add extra
|
||
|
whitespace when working one an array of input (as opposed to a
|
||
|
single string).
|
||
|
|
||
|
Performance rewrite: use m/\G/ rather than s///.
|
||
|
|
||
|
You can now specify that words that are too long to wrap can simply
|
||
|
overflow the line. Feature requested by James Hoagland
|
||
|
<hoagland@SiliconDefense.com> and by John Porter <jdporter@min.net>.
|
||
|
|
||
|
Documentation changes from Rich Bowen <Rich@cre8tivegroup.com>.
|
||
|
|
||
|
= 1998/11/29
|
||
|
|
||
|
Combined Fill.pm into Wrap.pm. It appears there are versions of
|
||
|
Wrap.pm with fill in them.
|
||
|
|
||
|
= 1998/11/28
|
||
|
|
||
|
Over the last couple of years, many people sent in various
|
||
|
rewrites of Text::Wrap. I should have done something about
|
||
|
updating it long ago. If someone wants to take it over from
|
||
|
me, discuss it in perl-porters. I'll be happy to hand it
|
||
|
over.
|
||
|
|
||
|
Anyway, I have a bunch of people to thank. I didn't
|
||
|
use what any of them sent in, but I did take ideas from
|
||
|
all of them. Many sent in complete new implamentations.
|
||
|
|
||
|
Ivan Brawley <ibrawley@awadi.com.au>
|
||
|
|
||
|
Jacqui Caren <Jacqui.Caren@ig.co.uk>
|
||
|
|
||
|
Jeff Kowalski <jeff.kowalski@autodesk.com>
|
||
|
|
||
|
Allen Smith <easmith@beatrice.rutgers.edu>
|
||
|
|
||
|
Sullivan N. Beck <sbeck@cise.ufl.edu>
|
||
|
|
||
|
The end result is a very slight change in the API. There
|
||
|
is now an additional package variable: $Text::Wrap::huge.
|
||
|
When $huge is set to 'die' then long words will cause
|
||
|
wrap() to die. When it is set to 'wrap', long words will
|
||
|
be wrapped. The default is 'wrap'.
|
||
|
|
||
|
<shout>LONG WORDS WILL NOW BE WRAPPED BY DEFAULT</shout>.
|
||
|
This is a change in behavior.
|
||
|
|
||
|
At the bottom of Text::Wrap, there was a function (fill())
|
||
|
sitting there unpublished. There was a note that Tim Pierce
|
||
|
had a faster version, but a search on CPAN failed to turn it
|
||
|
up. Text::Fill is now available.
|
||
|
|