Pr (Unix)
{{lowercase}}
{{Infobox software
| name = pr
| logo =
| screenshot =
| screenshot size =
| caption =
| author = Ken Thompson,
Dennis Ritchie
(AT&T Bell Laboratories)
| developer = Various open-source and commercial developers
| released = {{Start date and age|1971|11|3}}
| latest release version =
| latest release date =
| operating system = Unix, Unix-like, Plan 9, OS-9, IBM i
| platform = Cross-platform
| genre = Command
| website =
}}
pr is a command on various operating systems that is used to paginate or columnate computer files for printing. It can also be used to compare two files side by side, as an alternative to diff.
It is a required program in a POSIX-compliant environment and has been implemented by GNU as part of the GNU Core Utilities. The command is available as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities.{{Cite web|url=http://unxutils.sourceforge.net/|title=Native Win32 ports of some GNU utilities|website=unxutils.sourceforge.net}} It is also available in the OS-9 shell.{{cite book|author=Paul S. Dayan|year=1992|title=The OS-9 Guru - 1 : The Facts|publisher=Galactic Industrial Limited|isbn=0-9519228-0-7}} The {{Mono|pr}} command has also been ported to the IBM i operating system.{{cite web |title=IBM System i Version 7.2 Programming Qshell |language=en |author=IBM |website=IBM |author-link=IBM |url=https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzpdf.pdf?view=kc |access-date=2020-09-05 }}
References
{{Reflist}}
External links
- {{man|cu|pr|SUS}}
- {{man|1|pr|Plan 9}}
{{Unix commands}}
{{Core Utilities commands}}
Category:Unix SUS2008 utilities
Category:IBM i Qshell commands
{{software stub}}
{{Software-stub}}