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:
+119
-102
File diff suppressed because it is too large
Load Diff
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -227,6 +227,23 @@ from any other non-alphabet bytes in the encoded stream.</p>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
|
||||
<p>Encode a file with base64 encoding:</p>
|
||||
<pre><code class="language-shell">basenc --base64 {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Decode a file with base64 encoding:</p>
|
||||
<pre><code class="language-shell">basenc --decode --base64 {{path/to/file}}
|
||||
</code></pre>
|
||||
<p>Encode from <code>stdin</code> with base32 encoding with 42 columns:</p>
|
||||
<pre><code class="language-shell">{{command}} | basenc --base32 -w42
|
||||
</code></pre>
|
||||
<p>Encode from <code>stdin</code> with base32 encoding:</p>
|
||||
<pre><code class="language-shell">{{command}} | basenc --base32
|
||||
</code></pre>
|
||||
<blockquote>
|
||||
<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>
|
||||
<p>Please note that, as uutils is a work in progress, some examples might fail.</p>
|
||||
</blockquote>
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user