90 lines
4.4 KiB
HTML
90 lines
4.4 KiB
HTML
<head>
|
|
<title>pr(1) - Plan 9 from User Space</title>
|
|
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
|
|
</head>
|
|
<body bgcolor=#ffffff>
|
|
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<tr height=10><td>
|
|
<tr><td width=20><td>
|
|
<tr><td width=20><td><b>PR(1)</b><td align=right><b>PR(1)</b>
|
|
<tr><td width=20><td colspan=2>
|
|
<br>
|
|
<p><font size=+1><b>NAME </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
pr – print file<br>
|
|
|
|
</table>
|
|
<p><font size=+1><b>SYNOPSIS </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<tt><font size=+1>pr</font></tt> [ <i>option ...</i> ] [ <i>file ...</i> ]<br>
|
|
|
|
</table>
|
|
<p><font size=+1><b>DESCRIPTION </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<i>Pr</i> produces a printed listing of one or more <i>files</i> on its standard
|
|
output. The output is separated into pages headed by a date, the
|
|
name of the file or a specified header, and the page number. With
|
|
no file arguments, <i>pr</i> prints its standard input.
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
|
|
|
|
Options apply to all following files but may be reset between
|
|
files:<br>
|
|
<tt><font size=+1>−</font></tt><i>n</i> Produce <i>n</i>-column output.<br>
|
|
<tt><font size=+1>+</font></tt><i>n</i> Begin printing with page <i>n</i>.<br>
|
|
<tt><font size=+1>−b</font></tt> Balance columns on last page, in case of multi-column output.<br>
|
|
<tt><font size=+1>−d</font></tt> Double space.<br>
|
|
<tt><font size=+1>−e</font></tt><i>n</i> Set the tab stops for input text every <i>n</i> spaces.<br>
|
|
<tt><font size=+1>−h</font></tt> Take the next argument as a page header (<i>file</i> by default).<br>
|
|
<tt><font size=+1>−i</font></tt><i>n</i> Replace sequences of blanks in the output by tabs, using tab
|
|
stops set every <i>n</i> spaces.<br>
|
|
<tt><font size=+1>−f</font></tt> Use form feeds to separate pages.<br>
|
|
<tt><font size=+1>−l</font></tt><i>n</i> Take the length of the page to be <i>n</i> lines instead of the default
|
|
66.<br>
|
|
<tt><font size=+1>−m</font></tt> Print all <i>files</i> simultaneously, each in one column.<br>
|
|
<tt><font size=+1>−n</font></tt><i>m</i> Number the lines of each <i>file</i>. The numeric argument <i>m</i>, default
|
|
5, sets the width of the line-number field.<br>
|
|
<tt><font size=+1>−o</font></tt><i>n</i> Offset the left margin <i>n</i> character positions.<br>
|
|
<tt><font size=+1>−p</font></tt> Pad each file printed to an odd number of pages. For two-sided
|
|
printers, this will ensure each file will start a new page.<br>
|
|
<tt><font size=+1>−s</font></tt><i>c</i> Separate columns by the single character <i>c</i> instead of aligning
|
|
them with white space. A missing <i>c</i> is taken to be a tab.<br>
|
|
<tt><font size=+1>−t</font></tt> Do not print the 5-line header or the 5-line trailer normally
|
|
supplied for each page.<br>
|
|
<tt><font size=+1>−w</font></tt><i>n</i> For multi-column output, take the width of the page to be <i>n</i>
|
|
characters instead of the default 72.<br>
|
|
|
|
</table>
|
|
<p><font size=+1><b>SOURCE </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<tt><font size=+1>/usr/local/plan9/src/cmd/pr.c<br>
|
|
</font></tt>
|
|
</table>
|
|
<p><font size=+1><b>SEE ALSO </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<a href="../man1/cat.html"><i>cat</i>(1)</a>, <a href="../man1/lp.html"><i>lp</i>(1)</a><br>
|
|
|
|
</table>
|
|
|
|
<td width=20>
|
|
<tr height=20><td>
|
|
</table>
|
|
<!-- TRAILER -->
|
|
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<tr height=15><td width=10><td><td width=10>
|
|
<tr><td><td>
|
|
<center>
|
|
<a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a>
|
|
</center>
|
|
</table>
|
|
<!-- TRAILER -->
|
|
</body></html>
|