| pr | |
|---|---|
| Original authors | Ken Thompson, Dennis Ritchie (AT&T Bell Laboratories) |
| Developers | Variousopen-source andcommercial developers |
| Initial release | November 3, 1971; 54 years ago (1971-11-03) |
| Operating system | Unix,Unix-like,Plan 9,OS-9,IBM i |
| Platform | Cross-platform |
| Type | Command |
| License | coreutils:GPLv3+ |
pr is acommand on variousoperating systems that is used to paginate or columnatecomputer files for printing. It can also be used to compare two files side by side, as an alternative todiff.
It is a required program in aPOSIX-compliant environment and has been implemented byGNU as part of theGNU Core Utilities. The command is available as a separate package forMicrosoft Windows as part of theUnxUtils collection ofnativeWin32ports of common GNU Unix-like utilities.[1] It is also available in theOS-9 shell.[2] Thepr command has also been ported to theIBM i operating system.[3]
pr – Shell and Utilities Reference,The Single UNIX Specification, Version 5 fromThe Open Grouppr(1) – Plan 9 Programmer's Manual, Volume 1