From d427f333b2d078435462b152c410aa1c526b2850 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Wed, 9 Aug 2023 07:29:02 +0200 Subject: [PATCH] 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 --- pages/common/at.md | 4 ++-- pages/common/base32.md | 2 +- pages/common/base64.md | 2 +- pages/common/basenc.md | 2 +- pages/common/bat.md | 2 +- pages/common/batch.md | 4 ++-- pages/common/bison.md | 2 +- pages/common/bzip2.md | 2 +- pages/common/bzip3.md | 2 +- pages/common/carbon-now.md | 2 +- pages/common/cat.md | 2 +- pages/common/cmark.md | 2 +- pages/common/column.md | 2 +- pages/common/cpio.md | 2 +- pages/common/expand.md | 4 ++-- pages/common/fold.md | 2 +- pages/common/gh-auth.md | 2 +- pages/common/git-archive.md | 4 ++-- pages/common/git-bundle.md | 2 +- pages/common/git-column.md | 6 +++--- pages/common/git-stripspace.md | 2 +- pages/common/gnomon.md | 2 +- pages/common/goimports.md | 2 +- pages/common/gpg2.md | 6 +++--- pages/common/hashid.md | 4 ++-- pages/common/mail.md | 2 +- pages/common/msmtp.md | 2 +- pages/common/mutool.md | 2 +- pages/common/nl.md | 4 ++-- pages/common/pdftotext.md | 2 +- pages/common/pueue-follow.md | 2 +- pages/common/pygmentize.md | 2 +- pages/common/sops.md | 2 +- pages/common/stdbuf.md | 6 +++--- pages/common/tee.md | 6 +++--- pages/common/ts.md | 2 +- pages/common/unexpand.md | 4 ++-- pages/common/zcat.md | 4 ++-- pages/linux/aspell.md | 4 ++-- pages/linux/cat.md | 2 +- pages/linux/dmesg.md | 2 +- pages/linux/flameshot.md | 2 +- pages/linux/grub-script-check.md | 2 +- pages/linux/hardinfo.md | 2 +- pages/linux/keyctl.md | 2 +- pages/linux/logsave.md | 2 +- pages/linux/pridecat.md | 2 +- pages/linux/rmmod.md | 2 +- pages/linux/run-mailcap.md | 2 +- pages/linux/script.md | 2 +- pages/linux/scriptreplay.md | 2 +- pages/linux/slop.md | 2 +- pages/linux/sqfscat.md | 2 +- pages/linux/sxiv.md | 2 +- pages/linux/utmpdump.md | 2 +- pages/osx/cat.md | 2 +- pages/osx/dmesg.md | 2 +- pages/osx/pbpaste.md | 2 +- pages/osx/wc.md | 2 +- pages/sunos/dmesg.md | 2 +- 60 files changed, 77 insertions(+), 77 deletions(-) diff --git a/pages/common/at.md b/pages/common/at.md index e59375ef4..8255ba443 100644 --- a/pages/common/at.md +++ b/pages/common/at.md @@ -4,11 +4,11 @@ > Service atd (or atrun) should be running for the actual executions. > More information: . -- Execute commands from standard input in 5 minutes (press `Ctrl + D` when done): +- Execute commands from `stdin` in 5 minutes (press `Ctrl + D` when done): `at now + 5 minutes` -- Execute a command from standard input at 10:00 AM today: +- Execute a command from `stdin` at 10:00 AM today: `echo "{{./make_db_backup.sh}}" | at 1000` diff --git a/pages/common/base32.md b/pages/common/base32.md index 9b10f0e0a..561f9a3cb 100644 --- a/pages/common/base32.md +++ b/pages/common/base32.md @@ -1,6 +1,6 @@ # base32 -> Encode or decode file or standard input to/from Base32, to standard output. +> Encode or decode file or `stdin` to/from Base32, to `stdout`. > More information: . - Encode a file: diff --git a/pages/common/base64.md b/pages/common/base64.md index 008e44dba..db38de926 100644 --- a/pages/common/base64.md +++ b/pages/common/base64.md @@ -1,6 +1,6 @@ # base64 -> Encode or decode file or standard input to/from Base64, to standard output. +> Encode or decode file or `stdin` to/from Base64, to `stdout`. > More information: . - Encode the contents of a file as base64 and write the result to `stdout`: diff --git a/pages/common/basenc.md b/pages/common/basenc.md index c15d393dd..7c1f52282 100644 --- a/pages/common/basenc.md +++ b/pages/common/basenc.md @@ -1,6 +1,6 @@ # basenc -> Encode or decode file or standard input using a specified encoding, to standard output. +> Encode or decode file or `stdin` using a specified encoding, to `stdout`. > More information: . - Encode a file with base64 encoding: diff --git a/pages/common/bat.md b/pages/common/bat.md index 7c7a483e5..a906c125c 100644 --- a/pages/common/bat.md +++ b/pages/common/bat.md @@ -4,7 +4,7 @@ > A `cat` clone with syntax highlighting and Git integration. > More information: . -- Print the contents of a file to the standard output: +- Print the contents of a file to `stdout`: `bat {{path/to/file}}` diff --git a/pages/common/batch.md b/pages/common/batch.md index b3a81f310..254225b38 100644 --- a/pages/common/batch.md +++ b/pages/common/batch.md @@ -4,11 +4,11 @@ > Service atd (or atrun) should be running for the actual executions. > More information: . -- Execute commands from standard input (press `Ctrl + D` when done): +- Execute commands from `stdin` (press `Ctrl + D` when done): `batch` -- Execute a command from standard input: +- Execute a command from `stdin`: `echo "{{./make_db_backup.sh}}" | batch` diff --git a/pages/common/bison.md b/pages/common/bison.md index e0e8798f5..0616c9a78 100644 --- a/pages/common/bison.md +++ b/pages/common/bison.md @@ -7,7 +7,7 @@ `bison {{path/to/file.y}}` -- Compile in debug mode, which causes the resulting parser to write additional information to the standard output: +- Compile in debug mode, which causes the resulting parser to write additional information to `stdout`: `bison --debug {{path/to/file.y}}` diff --git a/pages/common/bzip2.md b/pages/common/bzip2.md index f9d4eb28b..605a51436 100644 --- a/pages/common/bzip2.md +++ b/pages/common/bzip2.md @@ -11,7 +11,7 @@ `bzip2 -d {{path/to/compressed_file.bz2}}` -- Decompress a file to standard output: +- Decompress a file to `stdout`: `bzip2 -dc {{path/to/compressed_file.bz2}}` diff --git a/pages/common/bzip3.md b/pages/common/bzip3.md index aedbbda77..3768ca520 100644 --- a/pages/common/bzip3.md +++ b/pages/common/bzip3.md @@ -11,7 +11,7 @@ `bzip3 -d {{path/to/compressed_file.bz3}}` -- Decompress a file to standard output: +- Decompress a file to `stdout`: `bzip3 -dc {{path/to/compressed_file.bz3}}` diff --git a/pages/common/carbon-now.md b/pages/common/carbon-now.md index 68e9a398e..10e501065 100644 --- a/pages/common/carbon-now.md +++ b/pages/common/carbon-now.md @@ -11,7 +11,7 @@ `carbon-now --from-clipboard` -- Create an image from standard input using default settings: +- Create an image from `stdin` using default settings: `{{input}} | carbon-now` diff --git a/pages/common/cat.md b/pages/common/cat.md index a60d4175b..e02f97d0c 100644 --- a/pages/common/cat.md +++ b/pages/common/cat.md @@ -3,7 +3,7 @@ > Print and concatenate files. > More information: . -- Print the contents of a file to the standard output: +- Print the contents of a file to `stdout`: `cat {{path/to/file}}` diff --git a/pages/common/cmark.md b/pages/common/cmark.md index 239445c1b..2fb2a1ca1 100644 --- a/pages/common/cmark.md +++ b/pages/common/cmark.md @@ -7,7 +7,7 @@ `cmark --to html {{filename.md}}` -- Convert data from standard input to LaTeX: +- Convert data from `stdin` to LaTeX: `cmark --to latex` diff --git a/pages/common/column.md b/pages/common/column.md index 220940e91..110c6d9e4 100644 --- a/pages/common/column.md +++ b/pages/common/column.md @@ -1,6 +1,6 @@ # column -> Format standard input or a file into multiple columns. +> Format `stdin` or a file into multiple columns. > Columns are filled before rows; the default separator is a whitespace. > More information: . diff --git a/pages/common/cpio.md b/pages/common/cpio.md index 910cfdad5..5e1967c5c 100644 --- a/pages/common/cpio.md +++ b/pages/common/cpio.md @@ -4,7 +4,7 @@ > Supports the following archive formats: cpio's custom binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar. > More information: . -- Take a list of file names from standard input and add them [o]nto an archive in cpio's binary format: +- Take a list of file names from `stdin` and add them [o]nto an archive in cpio's binary format: `echo "{{file1}} {{file2}} {{file3}}" | cpio -o > {{archive.cpio}}` diff --git a/pages/common/expand.md b/pages/common/expand.md index cebab4186..7fe100a39 100644 --- a/pages/common/expand.md +++ b/pages/common/expand.md @@ -3,11 +3,11 @@ > Convert tabs to spaces. > More information: . -- Convert tabs in each file to spaces, writing to standard output: +- Convert tabs in each file to spaces, writing to `stdout`: `expand {{path/to/file}}` -- Convert tabs to spaces, reading from standard input: +- Convert tabs to spaces, reading from `stdin`: `expand` diff --git a/pages/common/fold.md b/pages/common/fold.md index 1539d8a1d..402f6aaa6 100644 --- a/pages/common/fold.md +++ b/pages/common/fold.md @@ -1,6 +1,6 @@ # fold -> Wraps each line in an input file to fit a specified width and prints it to the standard output. +> Wrap each line in an input file to fit a specified width and print it to `stdout`. > More information: . - Wrap each line to default width (80 characters): diff --git a/pages/common/gh-auth.md b/pages/common/gh-auth.md index ced80eaff..5945a19b2 100644 --- a/pages/common/gh-auth.md +++ b/pages/common/gh-auth.md @@ -7,7 +7,7 @@ `gh auth login` -- Log in with a token from standard input (created in https://github.com/settings/tokens): +- Log in with a token from `stdin` (created in https://github.com/settings/tokens): `echo {{your_token}} | gh auth login --with-token` diff --git a/pages/common/git-archive.md b/pages/common/git-archive.md index 84eb2a390..28bdb68cd 100644 --- a/pages/common/git-archive.md +++ b/pages/common/git-archive.md @@ -3,11 +3,11 @@ > Create an archive of files from a named tree. > More information: . -- Create a tar archive from the contents of the current HEAD and print it to standard output: +- Create a tar archive from the contents of the current HEAD and print it to `stdout`: `git archive --verbose HEAD` -- Create a zip archive from the current HEAD and print it to standard output: +- Create a zip archive from the current HEAD and print it to `stdout`: `git archive --verbose --format=zip HEAD` diff --git a/pages/common/git-bundle.md b/pages/common/git-bundle.md index 577bf8852..20d4705ca 100644 --- a/pages/common/git-bundle.md +++ b/pages/common/git-bundle.md @@ -23,7 +23,7 @@ `git bundle verify {{path/to/file.bundle}}` -- Print to the standard output the list of references contained in a bundle: +- Print to `stdout` the list of references contained in a bundle: `git bundle unbundle {{path/to/file.bundle}}` diff --git a/pages/common/git-column.md b/pages/common/git-column.md index 8c2aedccd..eca34b361 100644 --- a/pages/common/git-column.md +++ b/pages/common/git-column.md @@ -3,14 +3,14 @@ > Display data in columns. > More information: . -- Format the standard input as multiple columns: +- Format `stdin` as multiple columns: `ls | git column --mode={{column}}` -- Format the standard input as multiple columns with a maximum width of `100`: +- Format `stdin` as multiple columns with a maximum width of `100`: `ls | git column --mode=column --width={{100}}` -- Format the standard input as multiple columns with a maximum padding of `30`: +- Format `stdin` as multiple columns with a maximum padding of `30`: `ls | git column --mode=column --padding={{30}}` diff --git a/pages/common/git-stripspace.md b/pages/common/git-stripspace.md index 3ca7aa82f..80bae3136 100644 --- a/pages/common/git-stripspace.md +++ b/pages/common/git-stripspace.md @@ -1,6 +1,6 @@ # git stripspace -> Read text (e.g. commit messages, notes, tags, and branch descriptions) from the standard input and clean it into the manner used by Git. +> Read text (e.g. commit messages, notes, tags, and branch descriptions) from `stdin` and clean it into the manner used by Git. > More information: . - Trim whitespace from a file: diff --git a/pages/common/gnomon.md b/pages/common/gnomon.md index 54d96d771..12fa13375 100644 --- a/pages/common/gnomon.md +++ b/pages/common/gnomon.md @@ -3,7 +3,7 @@ > Utility to annotate console logging statements with timestamps and find slow processes. > More information: . -- Use UNIX (or DOS) pipes to pipe the `stdout` of any command through gnomon: +- Use UNIX (or DOS) pipes to pipe `stdout` of any command through gnomon: `{{npm test}} | gnomon` diff --git a/pages/common/goimports.md b/pages/common/goimports.md index 6646cf68e..37ff4f0f9 100644 --- a/pages/common/goimports.md +++ b/pages/common/goimports.md @@ -7,7 +7,7 @@ `goimports {{path/to/file}}.go` -- Write the result back to the source file instead of the standard output: +- Write the result back to the source file instead of `stdout`: `goimports -w {{path/to/file}}.go` diff --git a/pages/common/gpg2.md b/pages/common/gpg2.md index 1ff99ab7d..8f83359fb 100644 --- a/pages/common/gpg2.md +++ b/pages/common/gpg2.md @@ -16,7 +16,7 @@ `gpg2 --symmetric {{path/to/doc.txt}}` -- Decrypt a specified file, writing the result to the standard output: +- Decrypt a specified file, writing the result to `stdout`: `gpg2 --decrypt {{path/to/doc.txt.gpg}}` @@ -24,10 +24,10 @@ `gpg2 --import {{path/to/public_key.gpg}}` -- Export the public key of a specified email address to the standard output: +- Export the public key of a specified email address to `stdout`: `gpg2 --export --armor {{alice@example.com}}` -- Export the private key with a specified email address to the standard output: +- Export the private key with a specified email address to `stdout`: `gpg2 --export-secret-keys --armor {{alice@example.com}}` diff --git a/pages/common/hashid.md b/pages/common/hashid.md index 3f4b70e7d..09deecb2b 100644 --- a/pages/common/hashid.md +++ b/pages/common/hashid.md @@ -3,7 +3,7 @@ > Python3 program that identifies data and password hashes. > More information: . -- Identify hashes from standard input (through typing, copying and pasting, or piping the hash into the program): +- Identify hashes from `stdin` (through typing, copying and pasting, or piping the hash into the program): `hashid` @@ -23,6 +23,6 @@ `hashid --mode --john {{hash}}` -- Save output to a file instead of printing to standard output: +- Save output to a file instead of printing to `stdout`: `hashid --outfile {{path/to/output.txt}} {{hash}}` diff --git a/pages/common/mail.md b/pages/common/mail.md index 2400ec4de..e15546899 100644 --- a/pages/common/mail.md +++ b/pages/common/mail.md @@ -1,7 +1,7 @@ # mail > The command operates on the user's mailbox if no argument is given. -> To send an email the message body is built from standard input. +> To send an email the message body is built from `stdin`. > More information: . - Send a typed email message. The command-line below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multiline). Press Ctrl-D key to complete the message text: diff --git a/pages/common/msmtp.md b/pages/common/msmtp.md index b9eda22f7..354cf9108 100644 --- a/pages/common/msmtp.md +++ b/pages/common/msmtp.md @@ -1,7 +1,7 @@ # msmtp > An SMTP client. -> It reads text from standard input and sends it to an SMTP server. +> It reads text from `stdin` and sends it to an SMTP server. > More information: . - Send an email using the default account configured in `~/.msmtprc`: diff --git a/pages/common/mutool.md b/pages/common/mutool.md index 1c11297a9..ee2dcacec 100644 --- a/pages/common/mutool.md +++ b/pages/common/mutool.md @@ -7,7 +7,7 @@ `mutool convert -o {{path/to/output%nd.png}} {{path/to/input.pdf}} {{1-10}}` -- Convert pages 2, 3 and 5 of a PDF into text in the standard output: +- Convert pages 2, 3 and 5 of a PDF into text in `stdout`: `mutool draw -F {{txt}} {{path/to/input.pdf}} {{2,3,5}}` diff --git a/pages/common/nl.md b/pages/common/nl.md index f14d67cea..719d1098b 100644 --- a/pages/common/nl.md +++ b/pages/common/nl.md @@ -1,13 +1,13 @@ # nl -> A utility for numbering lines, either from a file, or from standard input. +> A utility for numbering lines, either from a file, or from `stdin`. > More information: . - Number non-blank lines in a file: `nl {{path/to/file}}` -- Read from standard output: +- Read from `stdout`: `cat {{path/to/file}} | nl {{options}} -` diff --git a/pages/common/pdftotext.md b/pages/common/pdftotext.md index ef4956a98..23dd547b9 100644 --- a/pages/common/pdftotext.md +++ b/pages/common/pdftotext.md @@ -3,7 +3,7 @@ > Convert PDF files to plain text format. > More information: . -- Convert `filename.pdf` to plain text and print it to standard output: +- Convert `filename.pdf` to plain text and print it to `stdout`: `pdftotext {{filename.pdf}} -` diff --git a/pages/common/pueue-follow.md b/pages/common/pueue-follow.md index a7d8a4b96..4d1288b2b 100644 --- a/pages/common/pueue-follow.md +++ b/pages/common/pueue-follow.md @@ -8,6 +8,6 @@ `pueue follow {{task_id}}` -- Follow the `stderr` of a task: +- Follow `stderr` of a task: `pueue follow --err {{task_id}}` diff --git a/pages/common/pygmentize.md b/pages/common/pygmentize.md index d567e5745..80945f0c4 100644 --- a/pages/common/pygmentize.md +++ b/pages/common/pygmentize.md @@ -3,7 +3,7 @@ > Python-based syntax highlighter. > More information: . -- Highlight file syntax and print to standard output (language is inferred from the file extension): +- Highlight file syntax and print to `stdout` (language is inferred from the file extension): `pygmentize {{file.py}}` diff --git a/pages/common/sops.md b/pages/common/sops.md index 61b7d9ded..c3b185b52 100644 --- a/pages/common/sops.md +++ b/pages/common/sops.md @@ -8,7 +8,7 @@ `sops -e {{path/to/myfile.json}} > {{path/to/myfile.enc.json}}` -- Decrypt a file to the standard output: +- Decrypt a file to `stdout`: `sops -d {{path/to/myfile.enc.json}}` diff --git a/pages/common/stdbuf.md b/pages/common/stdbuf.md index 9f4169ccf..adf41cec1 100644 --- a/pages/common/stdbuf.md +++ b/pages/common/stdbuf.md @@ -3,14 +3,14 @@ > Run a command with modified buffering operations for its standard streams. > More information: . -- Change the standard input buffer size to 512 KiB: +- Change `stdin` buffer size to 512 KiB: `stdbuf --input={{512K}} {{command}}` -- Change the standard output buffer to line-buffered: +- Change `stdout` buffer to line-buffered: `stdbuf --output={{L}} {{command}}` -- Change the standard error buffer to unbuffered: +- Change `stderr` buffer to unbuffered: `stdbuf --error={{0}} {{command}}` diff --git a/pages/common/tee.md b/pages/common/tee.md index 7423f20dc..9083e6005 100644 --- a/pages/common/tee.md +++ b/pages/common/tee.md @@ -1,9 +1,9 @@ # tee -> Read from standard input and write to standard output and files (or commands). +> Read from `stdin` and write to `stdout` and files (or commands). > More information: . -- Copy standard input to each file, and also to standard output: +- Copy `stdin` to each file, and also to `stdout`: `echo "example" | tee {{path/to/file}}` @@ -11,7 +11,7 @@ `echo "example" | tee -a {{path/to/file}}` -- Print standard input to the terminal, and also pipe it into another program for further processing: +- Print `stdin` to the terminal, and also pipe it into another program for further processing: `echo "example" | tee {{/dev/tty}} | {{xargs printf "[%s]"}}` diff --git a/pages/common/ts.md b/pages/common/ts.md index 08598aaea..78f19ba7c 100644 --- a/pages/common/ts.md +++ b/pages/common/ts.md @@ -1,6 +1,6 @@ # ts -> Add timestamps to every line from standard input. +> Add timestamps to every line from `stdin`. > More information: . - Add a timestamp to the beginning of each line: diff --git a/pages/common/unexpand.md b/pages/common/unexpand.md index 47cd89829..7b7a7707b 100644 --- a/pages/common/unexpand.md +++ b/pages/common/unexpand.md @@ -3,11 +3,11 @@ > Convert spaces to tabs. > More information: . -- Convert blanks in each file to tabs, writing to standard output: +- Convert blanks in each file to tabs, writing to `stdout`: `unexpand {{path/to/file}}` -- Convert blanks to tabs, reading from standard output: +- Convert blanks to tabs, reading from `stdout`: `unexpand` diff --git a/pages/common/zcat.md b/pages/common/zcat.md index 374413b94..c6ea9cc5f 100644 --- a/pages/common/zcat.md +++ b/pages/common/zcat.md @@ -3,10 +3,10 @@ > Print data from gzip compressed files. > More information: . -- Print the uncompressed contents of a gzipped file to the standard output: +- Print the uncompressed contents of a gzipped file to `stdout`: `zcat {{file.txt.gz}}` -- Print compression details of a gzipped file to the standard output: +- Print compression details of a gzipped file to `stdout`: `zcat -l {{file.txt.gz}}` diff --git a/pages/linux/aspell.md b/pages/linux/aspell.md index 7a8356392..2163a11ec 100644 --- a/pages/linux/aspell.md +++ b/pages/linux/aspell.md @@ -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` diff --git a/pages/linux/cat.md b/pages/linux/cat.md index b7de6331b..5f1334ff7 100644 --- a/pages/linux/cat.md +++ b/pages/linux/cat.md @@ -3,7 +3,7 @@ > Print and concatenate files. > More information: . -- Print the contents of a file to the standard output: +- Print the contents of a file to `stdout`: `cat {{path/to/file}}` diff --git a/pages/linux/dmesg.md b/pages/linux/dmesg.md index e561bea4c..bf775d0e3 100644 --- a/pages/linux/dmesg.md +++ b/pages/linux/dmesg.md @@ -1,6 +1,6 @@ # dmesg -> Write the kernel messages to standard output. +> Write the kernel messages to `stdout`. > More information: . - Show kernel messages: diff --git a/pages/linux/flameshot.md b/pages/linux/flameshot.md index 13f6f1a4c..f41399a38 100644 --- a/pages/linux/flameshot.md +++ b/pages/linux/flameshot.md @@ -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` diff --git a/pages/linux/grub-script-check.md b/pages/linux/grub-script-check.md index 9d13e69c9..00fc60d14 100644 --- a/pages/linux/grub-script-check.md +++ b/pages/linux/grub-script-check.md @@ -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: . - Check a specific script file for syntax errors: diff --git a/pages/linux/hardinfo.md b/pages/linux/hardinfo.md index 4c1b064e8..e2b55c802 100644 --- a/pages/linux/hardinfo.md +++ b/pages/linux/hardinfo.md @@ -7,7 +7,7 @@ `hardinfo` -- Print report to standard output: +- Print report to `stdout`: `hardinfo -r` diff --git a/pages/linux/keyctl.md b/pages/linux/keyctl.md index 766c2a681..5f3f59b8f 100644 --- a/pages/linux/keyctl.md +++ b/pages/linux/keyctl.md @@ -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}}` diff --git a/pages/linux/logsave.md b/pages/linux/logsave.md index 5ae60a052..168a6415b 100644 --- a/pages/linux/logsave.md +++ b/pages/linux/logsave.md @@ -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}} -` diff --git a/pages/linux/pridecat.md b/pages/linux/pridecat.md index 3becb7113..ccbf3c70c 100644 --- a/pages/linux/pridecat.md +++ b/pages/linux/pridecat.md @@ -3,7 +3,7 @@ > Like cat but more colorful :). > More information: . -- 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}}` diff --git a/pages/linux/rmmod.md b/pages/linux/rmmod.md index a951b2b0f..2af866a4e 100644 --- a/pages/linux/rmmod.md +++ b/pages/linux/rmmod.md @@ -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}}` diff --git a/pages/linux/run-mailcap.md b/pages/linux/run-mailcap.md index 078dce2d9..6de587847 100644 --- a/pages/linux/run-mailcap.md +++ b/pages/linux/run-mailcap.md @@ -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}}` diff --git a/pages/linux/script.md b/pages/linux/script.md index 9e7601424..4c2911061 100644 --- a/pages/linux/script.md +++ b/pages/linux/script.md @@ -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}}` diff --git a/pages/linux/scriptreplay.md b/pages/linux/scriptreplay.md index 709119255..58f205ff0 100644 --- a/pages/linux/scriptreplay.md +++ b/pages/linux/scriptreplay.md @@ -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: . - Replay a typescript at the speed it was recorded: diff --git a/pages/linux/slop.md b/pages/linux/slop.md index d43f99c4e..923427f3c 100644 --- a/pages/linux/slop.md +++ b/pages/linux/slop.md @@ -3,7 +3,7 @@ > Get a selection of the screen. > More information: . -- 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` diff --git a/pages/linux/sqfscat.md b/pages/linux/sqfscat.md index e70e8288a..58000b772 100644 --- a/pages/linux/sqfscat.md +++ b/pages/linux/sqfscat.md @@ -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: . - Display the contents of one or more files from a squashfs filesystem: diff --git a/pages/linux/sxiv.md b/pages/linux/sxiv.md index 3a25e2a57..21bcab1b4 100644 --- a/pages/linux/sxiv.md +++ b/pages/linux/sxiv.md @@ -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` diff --git a/pages/linux/utmpdump.md b/pages/linux/utmpdump.md index eb7f3c2e3..96964341a 100644 --- a/pages/linux/utmpdump.md +++ b/pages/linux/utmpdump.md @@ -3,7 +3,7 @@ > Dump and load btmp, utmp and wtmp accounting files. > More information: . -- 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}}` diff --git a/pages/osx/cat.md b/pages/osx/cat.md index 0997f178b..77316f12a 100644 --- a/pages/osx/cat.md +++ b/pages/osx/cat.md @@ -3,7 +3,7 @@ > Print and concatenate files. > More information: . -- Print the contents of a file to the standard output: +- Print the contents of a file to `stdout`: `cat {{path/to/file}}` diff --git a/pages/osx/dmesg.md b/pages/osx/dmesg.md index 6f27439df..dfd810b6f 100644 --- a/pages/osx/dmesg.md +++ b/pages/osx/dmesg.md @@ -1,6 +1,6 @@ # dmesg -> Write the kernel messages to standard output. +> Write the kernel messages to `stdout`. > More information: . - Show kernel messages: diff --git a/pages/osx/pbpaste.md b/pages/osx/pbpaste.md index af40f9350..8e40633b6 100644 --- a/pages/osx/pbpaste.md +++ b/pages/osx/pbpaste.md @@ -1,6 +1,6 @@ # pbpaste -> Send the contents of the clipboard to standard output. +> Send the contents of the clipboard to `stdout`. > Comparable to pressing Cmd + V on the keyboard. > More information: . diff --git a/pages/osx/wc.md b/pages/osx/wc.md index bacf84c72..d6b2ea7c3 100644 --- a/pages/osx/wc.md +++ b/pages/osx/wc.md @@ -19,6 +19,6 @@ `wc -m {{path/to/file}}` -- Use standard input to count lines, words and characters (bytes) in that order: +- Use `stdin` to count lines, words and characters (bytes) in that order: `{{find .}} | wc` diff --git a/pages/sunos/dmesg.md b/pages/sunos/dmesg.md index be7f6394e..b73a4ef3b 100644 --- a/pages/sunos/dmesg.md +++ b/pages/sunos/dmesg.md @@ -1,6 +1,6 @@ # dmesg -> Write the kernel messages to standard output. +> Write the kernel messages to `stdout`. > More information: . - Show kernel messages: