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:
@@ -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=<MODE></code>, <code>-i <MODE></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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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=<MODE></code>, <code>-i <MODE></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}}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user