This commit is contained in:
sylvestre
2023-04-28 02:42:24 +00:00
parent b4f502f580
commit bc749e64e9
5 changed files with 36 additions and 2 deletions
+17
View File
@@ -8028,6 +8028,10 @@ specified by the sum of their values.</p>
<div class="version">v0.0.18
</div>
</div>
<pre><code>stdbuf [OPTION]... COMMAND
</code></pre>
<p>Run <code>COMMAND</code>, with modified buffering operations for its standard streams.</p>
<p>Mandatory arguments to long options are mandatory for short options too.</p>
<h2 id="options-92"><a class="header" href="#options-92">Options</a></h2>
<dl><dt><code>--input=&lt;MODE&gt;</code>, <code>-i &lt;MODE&gt;</code></dt>
<dd>
@@ -8045,6 +8049,14 @@ specified by the sum of their values.</p>
<dd>
</dd>
</dl>
<p>If <code>MODE</code> is 'L' the corresponding stream will be line buffered.
This option is invalid with standard input.</p>
<p>If <code>MODE</code> is '0' the corresponding stream will be unbuffered.</p>
<p>Otherwise, <code>MODE</code> is a number which may be followed by one of the following:</p>
<p>KB 1000, K 1024, MB 1000<em>1000, M 1024</em>1024, and so on for G, T, P, E, Z, Y.
In this case the corresponding stream will be fully buffered with the buffer size set to <code>MODE</code> bytes.</p>
<p>NOTE: If <code>COMMAND</code> adjusts the buffering of its standard streams (<code>tee</code> does for e.g.) then that will override corresponding settings changed by <code>stdbuf</code>.
Also some filters (like <code>dd</code> and <code>cat</code> etc.) don't use streams for I/O, and are thus unaffected by <code>stdbuf</code> settings.</p>
<h2 id="examples-82"><a class="header" href="#examples-82">Examples</a></h2>
<p>Change the standard input buffer size to 512 KiB:</p>
<pre><code class="language-shell">stdbuf --input={{512K}} {{command}}
@@ -8068,6 +8080,11 @@ specified by the sum of their values.</p>
<div class="version">v0.0.18
</div>
</div>
<pre><code>stty [-F DEVICE | --file=DEVICE] [SETTING]...
stty [-F DEVICE | --file=DEVICE] [-a|--all]
stty [-F DEVICE | --file=DEVICE] [-g|--save]
</code></pre>
<p>Print or change terminal characteristics.</p>
<h2 id="options-93"><a class="header" href="#options-93">Options</a></h2>
<dl><dt><code>--all</code>, <code>-a</code></dt>
<dd>
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+12
View File
@@ -178,6 +178,10 @@
<div class="version">v0.0.18
</div>
</div>
<pre><code>stdbuf [OPTION]... COMMAND
</code></pre>
<p>Run <code>COMMAND</code>, with modified buffering operations for its standard streams.</p>
<p>Mandatory arguments to long options are mandatory for short options too.</p>
<h2 id="options"><a class="header" href="#options">Options</a></h2>
<dl><dt><code>--input=&lt;MODE&gt;</code>, <code>-i &lt;MODE&gt;</code></dt>
<dd>
@@ -195,6 +199,14 @@
<dd>
</dd>
</dl>
<p>If <code>MODE</code> is 'L' the corresponding stream will be line buffered.
This option is invalid with standard input.</p>
<p>If <code>MODE</code> is '0' the corresponding stream will be unbuffered.</p>
<p>Otherwise, <code>MODE</code> is a number which may be followed by one of the following:</p>
<p>KB 1000, K 1024, MB 1000<em>1000, M 1024</em>1024, and so on for G, T, P, E, Z, Y.
In this case the corresponding stream will be fully buffered with the buffer size set to <code>MODE</code> bytes.</p>
<p>NOTE: If <code>COMMAND</code> adjusts the buffering of its standard streams (<code>tee</code> does for e.g.) then that will override corresponding settings changed by <code>stdbuf</code>.
Also some filters (like <code>dd</code> and <code>cat</code> etc.) don't use streams for I/O, and are thus unaffected by <code>stdbuf</code> settings.</p>
<h2 id="examples"><a class="header" href="#examples">Examples</a></h2>
<p>Change the standard input buffer size to 512 KiB:</p>
<pre><code class="language-shell">stdbuf --input={{512K}} {{command}}
+5
View File
@@ -178,6 +178,11 @@
<div class="version">v0.0.18
</div>
</div>
<pre><code>stty [-F DEVICE | --file=DEVICE] [SETTING]...
stty [-F DEVICE | --file=DEVICE] [-a|--all]
stty [-F DEVICE | --file=DEVICE] [-g|--save]
</code></pre>
<p>Print or change terminal characteristics.</p>
<h2 id="options"><a class="header" href="#options">Options</a></h2>
<dl><dt><code>--all</code>, <code>-a</code></dt>
<dd>