@@ -1952,7 +1952,7 @@ <h2 id="examples-15"><a class="header" href="#examples-15">Examples</a></h2>
1952
1952
< pre > < code class ="language-shell "> {{command}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}
1953
1953
</ code > </ pre >
1954
1954
< p > Print a range of each line with a specific delimiter:</ p >
1955
- < pre > < code class ="language-shell "> {{command}} | cut --delimiter="{{,}}" --{{characters }}={{1}}
1955
+ < pre > < code class ="language-shell "> {{command}} | cut --delimiter="{{,}}" --{{fields }}={{1}}
1956
1956
</ code > </ pre >
1957
1957
< p > Print a range of each line of the specific file:</ p >
1958
1958
< pre > < code class ="language-shell "> cut --{{characters}}={{1}} {{path/to/file}}
@@ -7680,7 +7680,7 @@ <h2 id="options-93"><a class="header" href="#options-93">Options</a></h2>
7680
7680
</ dl >
7681
7681
< h2 id ="examples-82 "> < a class ="header " href ="#examples-82 "> Examples</ a > </ h2 >
7682
7682
< p > Display all settings for the current terminal:</ p >
7683
- < pre > < code class ="language-shell "> stty -a
7683
+ < pre > < code class ="language-shell "> stty --all
7684
7684
</ code > </ pre >
7685
7685
< p > Set the number of rows:</ p >
7686
7686
< pre > < code class ="language-shell "> stty rows {{rows}}
@@ -7689,7 +7689,7 @@ <h2 id="examples-82"><a class="header" href="#examples-82">Examples</a></h2>
7689
7689
< pre > < code class ="language-shell "> stty cols {{cols}}
7690
7690
</ code > </ pre >
7691
7691
< p > Get the actual transfer speed of a device:</ p >
7692
- < pre > < code class ="language-shell "> stty -F {{path/to/device_file}} speed
7692
+ < pre > < code class ="language-shell "> stty --file {{path/to/device_file}} speed
7693
7693
</ code > </ pre >
7694
7694
< p > Reset all modes to reasonable values for the current terminal:</ p >
7695
7695
< pre > < code class ="language-shell "> stty sane
0 commit comments