diff options
Diffstat (limited to 'perl/perl-Text-Tabs+Wrap/README')
-rw-r--r-- | perl/perl-Text-Tabs+Wrap/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/perl/perl-Text-Tabs+Wrap/README b/perl/perl-Text-Tabs+Wrap/README new file mode 100644 index 000000000000..d9e629fdced7 --- /dev/null +++ b/perl/perl-Text-Tabs+Wrap/README @@ -0,0 +1,13 @@ +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. |