Skip to content

Commit e5e41ef

Browse files
committed
deploy: c249eba
1 parent ebf0a28 commit e5e41ef

File tree

4 files changed

+26
-14
lines changed

4 files changed

+26
-14
lines changed

user/print.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7492,14 +7492,20 @@ <h2 id="options-95"><a class="header" href="#options-95">Options</a></h2>
74927492
</dd>
74937493
</dl>
74947494
<h2 id="examples-84"><a class="header" href="#examples-84">Examples</a></h2>
7495-
<p>Print the contents of <em>file1</em> reversed to the standard output:</p>
7496-
<pre><code class="language-shell">tac {{file1}}
7495+
<p>Concatenate specific files in reversed order:</p>
7496+
<pre><code class="language-shell">tac {{path/to/file1 path/to/file2 ...}}
74977497
</code></pre>
7498-
<p>Print the contents of the standard input reversed to the standard output:</p>
7499-
<pre><code class="language-shell">{{command}} | tac
7498+
<p>Display <code>stdin</code> in reversed order:</p>
7499+
<pre><code class="language-shell">{{cat path/to/file}} | tac
75007500
</code></pre>
7501-
<p>Concatenate several files reversed into the target file:</p>
7502-
<pre><code class="language-shell">tac {{file1}} {{file2}} &gt; {{target_file}}
7501+
<p>Use a specific [s]eparator:</p>
7502+
<pre><code class="language-shell">tac -s {{separator}} {{path/to/file1 path/to/file2 ...}}
7503+
</code></pre>
7504+
<p>Use a specific [r]egex as a [s]eparator:</p>
7505+
<pre><code class="language-shell">tac -r -s {{separator}} {{path/to/file1 path/to/file2 ...}}
7506+
</code></pre>
7507+
<p>Use a separator [b]efore each file:</p>
7508+
<pre><code class="language-shell">tac -b {{path/to/file1 path/to/file2 ...}}
75037509
</code></pre>
75047510
<blockquote>
75057511
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>

user/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

user/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

user/utils/tac.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,20 @@ <h2 id="options"><a class="header" href="#options">Options</a></h2>
206206
</dd>
207207
</dl>
208208
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
209-
<p>Print the contents of <em>file1</em> reversed to the standard output:</p>
210-
<pre><code class="language-shell">tac {{file1}}
209+
<p>Concatenate specific files in reversed order:</p>
210+
<pre><code class="language-shell">tac {{path/to/file1 path/to/file2 ...}}
211211
</code></pre>
212-
<p>Print the contents of the standard input reversed to the standard output:</p>
213-
<pre><code class="language-shell">{{command}} | tac
212+
<p>Display <code>stdin</code> in reversed order:</p>
213+
<pre><code class="language-shell">{{cat path/to/file}} | tac
214214
</code></pre>
215-
<p>Concatenate several files reversed into the target file:</p>
216-
<pre><code class="language-shell">tac {{file1}} {{file2}} &gt; {{target_file}}
215+
<p>Use a specific [s]eparator:</p>
216+
<pre><code class="language-shell">tac -s {{separator}} {{path/to/file1 path/to/file2 ...}}
217+
</code></pre>
218+
<p>Use a specific [r]egex as a [s]eparator:</p>
219+
<pre><code class="language-shell">tac -r -s {{separator}} {{path/to/file1 path/to/file2 ...}}
220+
</code></pre>
221+
<p>Use a separator [b]efore each file:</p>
222+
<pre><code class="language-shell">tac -b {{path/to/file1 path/to/file2 ...}}
217223
</code></pre>
218224
<blockquote>
219225
<p>The examples are provided by the <a href="https://tldr.sh">tldr-pages project</a> under the <a href="https://github.com/tldr-pages/tldr/blob/main/LICENSE.md">CC BY 4.0 License</a>.</p>

0 commit comments

Comments
 (0)