LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install perl
copy
sudo dnf install perl
copy
sudo pacman -S perl
copy
sudo apk add perl
copy
sudo zypper install perl
copy
brew install perl
copy
nix profile install nixpkgs#perl
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid