LinuxCommandLibrary

pod2text

Convert Perl POD documentation to plain text

TLDR

Convert POD to plain text

$ pod2text [file.pod]
copy
Output to file
$ pod2text [file.pod] > [output.txt]
copy
Specify width
$ pod2text -w [80] [file.pod]
copy
Loose formatting
$ pod2text -l [file.pod]
copy

SYNOPSIS

pod2text [options] [file]

DESCRIPTION

pod2text converts Perl POD (Plain Old Documentation) into formatted plain text suitable for terminal display. It renders headings, lists, code blocks, and other POD formatting into readable ASCII output.
The -w option sets the output width in columns, -l enables loose paragraph formatting with extra spacing, and -c enables ANSI color output for enhanced terminal readability. Part of the standard Perl distribution.

PARAMETERS

FILE

Input POD file.
-w WIDTH
Output width in columns.
-l, --loose
Loose paragraph formatting.
-q QUOTES
Quote characters.
-c, --color
Use ANSI colors.

CAVEATS

Perl-specific format. Part of standard Perl.

HISTORY

pod2text was created for terminal viewing of Perl documentation.

SEE ALSO

pod2man(1), pod2html(1), perldoc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community