2019-04-21 11:50:48 +08:00

13 lines
718 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="pr">pr</h1>
<p>将文本文件转换成适合打印的格式</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>pr命令</strong> 用来将文本文件转换成适合打印的格式,它可以把较大的文件分割成多个页面进行打印,并为每个页面添加标题。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">pr(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-h&lt;标题&gt;:为页指定标题;
-l&lt;行数&gt;:指定每页的行数。</code></pre>
<h3 id="参数">参数</h3>
<p>文件:需要转换格式的文件。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->