coreutils/src/uu/pr/pr.md

28 lines
1 KiB
Markdown
Raw Normal View History

2023-03-29 08:59:24 +00:00
# pr
```
pr [OPTIONS] [files]...
```
Write content of given file or standard input to standard output with pagination filter
## After help
`+PAGE` Begin output at page number page of the formatted input.
`-COLUMN` Produce multi-column output. See `--column`
The pr utility is a printing and pagination filter for text files.
When multiple input files are specified, each is read, formatted, and written to standard output.
By default, the input is separated into 66-line pages, each with
2023-03-29 08:59:24 +00:00
* A 5-line header with the page number, date, time, and the pathname of the file.
* A 5-line trailer consisting of blank lines.
2023-03-29 08:59:24 +00:00
If standard output is associated with a terminal, diagnostic messages are suppressed until the pr
2023-03-29 08:59:24 +00:00
utility has completed processing.
When multiple column output is specified, text columns are of equal width.
By default, text columns are separated by at least one `<blank>`.
Input lines that do not fit into a text column are truncated.
2023-03-29 08:59:24 +00:00
Lines are not truncated under single column output.