You've already forked uutils.github.io
mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-06-10 16:12:28 -07:00
deploy: f0e8d44e6e
This commit is contained in:
@@ -5310,6 +5310,20 @@ process).</p>
|
||||
<p>use NUMBER columns for line numbers</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<p><code>STYLE</code> is one of:</p>
|
||||
<ul>
|
||||
<li><code>a</code> number all lines</li>
|
||||
<li><code>t</code> number only nonempty lines</li>
|
||||
<li><code>n</code> number no lines</li>
|
||||
<li><code>pBRE</code> number only lines that contain a match for the basic regular
|
||||
expression, <code>BRE</code></li>
|
||||
</ul>
|
||||
<p><code>FORMAT</code> is one of:</p>
|
||||
<ul>
|
||||
<li><code>ln</code> left justified, no leading zeros</li>
|
||||
<li><code>rn</code> right justified, no leading zeros</li>
|
||||
<li><code>rz</code> right justified, leading zeros</li>
|
||||
</ul>
|
||||
<h2 id="examples-53"><a class="header" href="#examples-53">Examples</a></h2>
|
||||
<p>Number non-blank lines in a file:</p>
|
||||
<pre><code class="language-shell">nl {{path/to/file}}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -257,6 +257,20 @@
|
||||
<p>use NUMBER columns for line numbers</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<p><code>STYLE</code> is one of:</p>
|
||||
<ul>
|
||||
<li><code>a</code> number all lines</li>
|
||||
<li><code>t</code> number only nonempty lines</li>
|
||||
<li><code>n</code> number no lines</li>
|
||||
<li><code>pBRE</code> number only lines that contain a match for the basic regular
|
||||
expression, <code>BRE</code></li>
|
||||
</ul>
|
||||
<p><code>FORMAT</code> is one of:</p>
|
||||
<ul>
|
||||
<li><code>ln</code> left justified, no leading zeros</li>
|
||||
<li><code>rn</code> right justified, no leading zeros</li>
|
||||
<li><code>rz</code> right justified, leading zeros</li>
|
||||
</ul>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Number non-blank lines in a file:</p>
|
||||
<pre><code class="language-shell">nl {{path/to/file}}
|
||||
|
||||
Reference in New Issue
Block a user