pr

Name

pr -- split a file into sections determined by context lines

Description

The specification for "pr" is as specified in the SUS but with the following differences as listed below.

Differences

-P

This option as specified in the SUS is not supported

-c, --show-control-chars

use hat notation (^G) and octal backslash notation.

-J, --join-lines

merge full lines, turns off -W line truncation, no column alignment.

-N NUMBER, --first-line-number=NUMBER

start counting with NUMBER at 1st line of first page printed.

-S[STRING], --sep-string=[=STRING]

separate columns by an optional STRING, don't use -S "STRING", -S only: No separator used without -S.

-T, --omit-pagination

omit page headers and trailers, eliminate any pagination by form feeds set in input files.

-v, --show-nonprinting

use octal backslash notation

-W PAGE_WIDTH, --page-width=PAGE_WIDTH

set page width to PAGE_WIDTH (72) characters always, truncate lines, except -J option is set, no interference with -S or -s.

--help

display this help and exit

--version

output version information and exit