slackbuilds/perl/perl-Text-Tabs+Wrap
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
perl-Text-Tabs+Wrap.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
perl-Text-Tabs+Wrap.info
slack-desc perl/perl-Text-Tabs+Wrap: Fix slack-desc. 2017-03-25 13:29:38 +00:00

README

perl-Text-Tabs+Wrap (expand and unexpand tabs + line wrapping)

Text::Tabs does most of what the unix utilities expand(1) and unexpand(1) do.
Given a line with tabs in it, expand replaces those tabs with the appropriate
number of spaces. Given a line with or without tabs in it, unexpand adds tabs
when it can save bytes by doing so, like the unexpand -a command.

Text::Wrap::wrap() is a very simple paragraph formatter. It formats a single
paragraph at a time by breaking lines at word boundaries. Indentation is
controlled for the first line ($initial_tab) and all subsequent lines
($subsequent_tab) independently. Please note: $initial_tab and $subsequent_tab
are the literal strings that will be used: it is unlikely you would want to
pass in a number.