Skip to main content

Module pr

Module pr 

Source

Structs§

PrConfig
Configuration for the pr command.

Constants§

DEFAULT_PAGE_LENGTH
Default page length in lines.
DEFAULT_PAGE_WIDTH
Default page width in columns.
FOOTER_LINES
Number of footer lines (5 blank).
HEADER_LINES
Number of header lines (2 blank + 1 header + 2 blank).

Functions§

pr_file
Paginate a single file and write output.
pr_merge
Paginate multiple files merged side by side (-m mode).