pages/*: add backticks around I/O streams (#10436)
* as suggested in #10428 * standard input => `stdin` * standard output => `stdout` * standard error => `stderr` Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
`aspell check {{path/to/file}}`
|
||||
|
||||
- List misspelled words from standard input:
|
||||
- List misspelled words from `stdin`:
|
||||
|
||||
`cat {{path/to/file}} | aspell list`
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
|
||||
`aspell --lang={{cs}}`
|
||||
|
||||
- List misspelled words from standard input and ignore words from personal word list:
|
||||
- List misspelled words from `stdin` and ignore words from personal word list:
|
||||
|
||||
`cat {{path/to/file}} | aspell --personal={{personal-word-list.pws}} list`
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Print and concatenate files.
|
||||
> More information: <https://www.gnu.org/software/coreutils/cat>.
|
||||
|
||||
- Print the contents of a file to the standard output:
|
||||
- Print the contents of a file to `stdout`:
|
||||
|
||||
`cat {{path/to/file}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# dmesg
|
||||
|
||||
> Write the kernel messages to standard output.
|
||||
> Write the kernel messages to `stdout`.
|
||||
> More information: <https://manned.org/dmesg>.
|
||||
|
||||
- Show kernel messages:
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
`flameshot screen --number {{2}}`
|
||||
|
||||
- Create a screenshot and print it to the standard output:
|
||||
- Create a screenshot and print it to `stdout`:
|
||||
|
||||
`flameshot gui --raw`
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# grub-script-check
|
||||
|
||||
> The program `grub-script-check` takes a GRUB script file and checks it for syntax errors.
|
||||
> It may take a path as a non-option argument. If none is supplied, it will read from standard input.
|
||||
> It may take a path as a non-option argument. If none is supplied, it will read from `stdin`.
|
||||
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dscript_002dcheck.html>.
|
||||
|
||||
- Check a specific script file for syntax errors:
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`hardinfo`
|
||||
|
||||
- Print report to standard output:
|
||||
- Print report to `stdout`:
|
||||
|
||||
`hardinfo -r`
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
`keyctl add {{type_keyring}} {{key_name}} {{key_value}} {{target_keyring}}`
|
||||
|
||||
- Store a key with its value from standard input:
|
||||
- Store a key with its value from `stdin`:
|
||||
|
||||
`echo -n {{key_value}} | keyctl padd {{type_keyring}} {{key_name}} {{target_keyring}}`
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`logsave {{path/to/logfile}} {{command}}`
|
||||
|
||||
- Take input from standard input and save it in a log file:
|
||||
- Take input from `stdin` and save it in a log file:
|
||||
|
||||
`logsave {{logfile}} -`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Like cat but more colorful :).
|
||||
> More information: <https://github.com/lunasorcery/pridecat>.
|
||||
|
||||
- Print the contents of a file in pride colors to the standard output:
|
||||
- Print the contents of a file in pride colors to `stdout`:
|
||||
|
||||
`pridecat {{path/to/file}}`
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
`sudo rmmod --verbose {{module_name}}`
|
||||
|
||||
- Remove a module from the kernel and send errors to syslog instead of standard error:
|
||||
- Remove a module from the kernel and send errors to syslog instead of `stderr`:
|
||||
|
||||
`sudo rmmod --syslog {{module_name}}`
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
`run-mailcap --action=ACTION --debug {{filename}}`
|
||||
|
||||
- Ignore any "copiousoutput" directive and forward output to standard output:
|
||||
- Ignore any "copiousoutput" directive and forward output to `stdout`:
|
||||
|
||||
`run-mailcap --action=ACTION --nopager {{filename}}`
|
||||
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
`script -a {{path/to/session.out}}`
|
||||
|
||||
- Record timing information (data is outputted to the standard error):
|
||||
- Record timing information (data is outputted to `stderr`):
|
||||
|
||||
`script -t 2> {{path/to/timingfile}}`
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# scriptreplay
|
||||
|
||||
> Replay a typescript created by the `script` command to the standard output.
|
||||
> Replay a typescript created by the `script` command to `stdout`.
|
||||
> More information: <https://manned.org/scriptreplay>.
|
||||
|
||||
- Replay a typescript at the speed it was recorded:
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Get a selection of the screen.
|
||||
> More information: <https://github.com/naelstrof/slop>.
|
||||
|
||||
- Wait for the user to make a selection and output its geometry to standard output:
|
||||
- Wait for the user to make a selection and output its geometry to `stdout`:
|
||||
|
||||
`slop`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# sqfscat
|
||||
|
||||
> Concatenate files from a squashfs filesystem and print them to standard output.
|
||||
> Concatenate files from a squashfs filesystem and print them to `stdout`.
|
||||
> More information: <https://manned.org/sqfscat>.
|
||||
|
||||
- Display the contents of one or more files from a squashfs filesystem:
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
`sxiv -f {{path/to/file}}`
|
||||
|
||||
- Open a newline-separated list of images, reading filenames from standard input:
|
||||
- Open a newline-separated list of images, reading filenames from `stdin`:
|
||||
|
||||
`echo {{path/to/file}} | sxiv -i`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Dump and load btmp, utmp and wtmp accounting files.
|
||||
> More information: <https://manned.org/utmpdump>.
|
||||
|
||||
- Dump the `/var/log/wtmp` file to the standard output as plain text:
|
||||
- Dump the `/var/log/wtmp` file to `stdout` as plain text:
|
||||
|
||||
`utmpdump {{/var/log/wtmp}}`
|
||||
|
||||
|
Reference in New Issue
Block a user