Text-Tabs-Wrap is a port of the Perl 5 Text-Tabs+Wrap distribution to Perl 6. We changed the "+" to a "-" because the p5 code's licence required modified versions to use a different name. Also because it looks nicer.
Text::Tabs provides the
unexpand functions, which perform the same job that the
unexpand(1) commands do: adding or removing tabs from a document.
Text::Wrap gives you
wrap will break up long lines; it doesn't join
short lines together.
fill reformats entire blocks of text, similar to vi's
Works in Rakudo, most test will pass apart from a few TODOs relying on NYI bits of regex.
The modules will load in Niecza, but aren't quite working yet...
We recommend using Pies, as it does all the work of module installation for you.
If you prefer to do things manually instead, you can run the test suite like so:
PERL6LIB="lib" prove -e perl6 prove -e 'mono path/to/Niecza.exe -I lib'
The original Perl 5 code was created by David Muir Sharnoff.