diff --git a/pages/common/7z.md b/pages/common/7z.md index 54b164a5d..7bb6e2f6e 100644 --- a/pages/common/7z.md +++ b/pages/common/7z.md @@ -19,7 +19,7 @@ `7z x {{path/to/archive.7z}} -o{{path/to/output}}` -- E[x]tract an archive to stdout: +- E[x]tract an archive to `stdout`: `7z x {{path/to/archive.7z}} -so` diff --git a/pages/common/7za.md b/pages/common/7za.md index 877dfb1bd..a47867cf4 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -20,7 +20,7 @@ `7za x {{path/to/archive.7z}} -o{{path/to/output}}` -- E[x]tract an archive to stdout: +- E[x]tract an archive to `stdout`: `7za x {{path/to/archive.7z}} -so` diff --git a/pages/common/7zr.md b/pages/common/7zr.md index aa509cf78..0306b15fc 100644 --- a/pages/common/7zr.md +++ b/pages/common/7zr.md @@ -20,7 +20,7 @@ `7zr x {{path/to/archive.7z}} -o{{path/to/output}}` -- E[x]tract an archive to stdout: +- E[x]tract an archive to `stdout`: `7zr x {{path/to/archive.7z}} -so` diff --git a/pages/common/age.md b/pages/common/age.md index fc83e2a57..d1031461a 100644 --- a/pages/common/age.md +++ b/pages/common/age.md @@ -7,7 +7,7 @@ `age --passphrase --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}` -- Generate a key pair, saving the private key to an unencrypted file and printing the public key to stdout: +- Generate a key pair, saving the private key to an unencrypted file and printing the public key to `stdout`: `age-keygen --output {{path/to/file}}` diff --git a/pages/common/ajson.md b/pages/common/ajson.md index cf060c320..54da01cf0 100644 --- a/pages/common/ajson.md +++ b/pages/common/ajson.md @@ -7,7 +7,7 @@ `ajson '{{$..json[?(@.path)]}}' {{path/to/file.json}}` -- Read JSON from stdin and execute a specified JSONPath expression: +- Read JSON from `stdin` and execute a specified JSONPath expression: `cat {{path/to/file.json}} | ajson '{{$..json[?(@.path)]}}'` diff --git a/pages/common/alex.md b/pages/common/alex.md index 89bb46a1b..eadc8c5e0 100644 --- a/pages/common/alex.md +++ b/pages/common/alex.md @@ -4,7 +4,7 @@ > It helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing in text. > More information: . -- Analyze text from stdin: +- Analyze text from `stdin`: `echo {{His network looks good}} | alex --stdin` diff --git a/pages/common/autoconf.md b/pages/common/autoconf.md index 709fc2c65..701d007d5 100644 --- a/pages/common/autoconf.md +++ b/pages/common/autoconf.md @@ -7,7 +7,7 @@ `autoconf` -- Generate a configuration script from the specified template; output to stdout: +- Generate a configuration script from the specified template; output to `stdout`: `autoconf {{template-file}}` diff --git a/pages/common/autopep8.md b/pages/common/autopep8.md index 5402dc475..06a59ef93 100644 --- a/pages/common/autopep8.md +++ b/pages/common/autopep8.md @@ -3,7 +3,7 @@ > Format Python code according to the PEP 8 style guide. > More information: . -- Format a file to stdout, with a custom maximum line length: +- Format a file to `stdout`, with a custom maximum line length: `autopep8 {{path/to/file.py}} --max-line-length {{length}}` diff --git a/pages/common/b2sum.md b/pages/common/b2sum.md index 2f38d7519..118d3b60b 100644 --- a/pages/common/b2sum.md +++ b/pages/common/b2sum.md @@ -11,7 +11,7 @@ `b2sum {{path/to/file1}} {{path/to/file2}}` -- Calculate the BLAKE2 checksum from stdin: +- Calculate the BLAKE2 checksum from `stdin`: `{{some_command}} | b2sum` diff --git a/pages/common/babel.md b/pages/common/babel.md index efafa49d8..e86bf5ca8 100644 --- a/pages/common/babel.md +++ b/pages/common/babel.md @@ -3,7 +3,7 @@ > A transpiler which converts code from JavaScript ES6/ES7 syntax to ES5 syntax. > More information: . -- Transpile a specified input file and output to stdout: +- Transpile a specified input file and output to `stdout`: `babel {{path/to/file}}` diff --git a/pages/common/banner.md b/pages/common/banner.md index ef32bc7c4..2925e0754 100644 --- a/pages/common/banner.md +++ b/pages/common/banner.md @@ -11,6 +11,6 @@ `banner -w {{50}} "{{Hello World}}"` -- Read text from stdin: +- Read text from `stdin`: `banner` diff --git a/pages/common/base32.md b/pages/common/base32.md index 263dd3fb6..03e1387c0 100644 --- a/pages/common/base32.md +++ b/pages/common/base32.md @@ -11,10 +11,10 @@ `base32 --decode {{filename}}` -- Encode from stdin: +- Encode from `stdin`: `{{somecommand}} | base32` -- Decode from stdin: +- Decode from `stdin`: `{{somecommand}} | base32 --decode` diff --git a/pages/common/base64.md b/pages/common/base64.md index fbb6faadb..819b5a11d 100644 --- a/pages/common/base64.md +++ b/pages/common/base64.md @@ -3,18 +3,18 @@ > Encode or decode file or standard input to/from Base64, to standard output. > More information: . -- Encode the contents of a file as base64 and write the result to stdout: +- Encode the contents of a file as base64 and write the result to `stdout`: `base64 {{filename}}` -- Decode the base64 contents of a file and write the result to stdout: +- Decode the base64 contents of a file and write the result to `stdout`: `base64 --decode {{filename}}` -- Encode from stdin: +- Encode from `stdin`: `{{somecommand}} | base64` -- Decode from stdin: +- Decode from `stdin`: `{{somecommand}} | base64 --decode` diff --git a/pages/common/bash.md b/pages/common/bash.md index aba1c4bcb..2eb1dbdf9 100644 --- a/pages/common/bash.md +++ b/pages/common/bash.md @@ -28,6 +28,6 @@ `bash -e {{path/to/script.sh}}` -- Execute specific commands from stdin: +- Execute specific commands from `stdin`: `{{echo "echo 'bash is executed'"}} | bash` diff --git a/pages/common/black.md b/pages/common/black.md index e9608b65e..3135b79a4 100644 --- a/pages/common/black.md +++ b/pages/common/black.md @@ -19,7 +19,7 @@ `black --diff {{path/to/file_or_directory}}` -- Auto-format a file or directory, emitting exclusively error messages to stderr: +- Auto-format a file or directory, emitting exclusively error messages to `stderr`: `black --quiet {{path/to/file_or_directory}}` diff --git a/pages/common/brittany.md b/pages/common/brittany.md index 9a3285d15..e6d649025 100644 --- a/pages/common/brittany.md +++ b/pages/common/brittany.md @@ -3,7 +3,7 @@ > Pretty-print Haskell source files. > More information: . -- Format a Haskell source file and print the result to stdout: +- Format a Haskell source file and print the result to `stdout`: `brittany {{path/to/file.hs}}` diff --git a/pages/common/bzgrep.md b/pages/common/bzgrep.md index bf16d00f0..3ad7ab7f1 100644 --- a/pages/common/bzgrep.md +++ b/pages/common/bzgrep.md @@ -27,6 +27,6 @@ `bzgrep --recursive "{{search_pattern}}" {{path/to/tar/file}}` -- Search stdin for lines that do not match a pattern: +- Search `stdin` for lines that do not match a pattern: `cat {{/path/to/bz/compressed/file}} | bzgrep --invert-match "{{search_pattern}}"` diff --git a/pages/common/circo.md b/pages/common/circo.md index a7bf8ad71..19ec88dbf 100644 --- a/pages/common/circo.md +++ b/pages/common/circo.md @@ -16,7 +16,7 @@ `circo -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | circo -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/clamdscan.md b/pages/common/clamdscan.md index ba0764f5f..74e8221dd 100644 --- a/pages/common/clamdscan.md +++ b/pages/common/clamdscan.md @@ -7,7 +7,7 @@ `clamdscan {{path/to/file_or_directory}}` -- Scan data from stdin: +- Scan data from `stdin`: `{{command}} | clamdscan -` diff --git a/pages/common/clamscan.md b/pages/common/clamscan.md index d84061fa9..d4e8f3fac 100644 --- a/pages/common/clamscan.md +++ b/pages/common/clamscan.md @@ -11,7 +11,7 @@ `clamscan -r {{path/to/directory}}` -- Scan data from stdin: +- Scan data from `stdin`: `{{command}} | clamscan -` diff --git a/pages/common/clang-format.md b/pages/common/clang-format.md index 95b55c880..7607d8680 100644 --- a/pages/common/clang-format.md +++ b/pages/common/clang-format.md @@ -3,7 +3,7 @@ > Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code. > More information: . -- Format a file and print the result to stdout: +- Format a file and print the result to `stdout`: `clang-format {{path/to/file}}` diff --git a/pages/common/colorpicker.md b/pages/common/colorpicker.md index cb62a4475..e76aa0149 100644 --- a/pages/common/colorpicker.md +++ b/pages/common/colorpicker.md @@ -4,7 +4,7 @@ > Any mouse gesture except left click will exit the program. > More information: . -- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to stdout: +- Launch colorpicker and print the hexadecimal and RGB value of each clicked pixel to `stdout`: `colorpicker` diff --git a/pages/common/comm.md b/pages/common/comm.md index faba6071a..d68b0dd99 100644 --- a/pages/common/comm.md +++ b/pages/common/comm.md @@ -11,7 +11,7 @@ `comm -12 {{file1}} {{file2}}` -- Print only lines common to both files, reading one file from stdin: +- Print only lines common to both files, reading one file from `stdin`: `cat {{file1}} | comm -12 - {{file2}}` diff --git a/pages/common/cowsay.md b/pages/common/cowsay.md index 1faa8a776..11a7081cc 100644 --- a/pages/common/cowsay.md +++ b/pages/common/cowsay.md @@ -7,7 +7,7 @@ `cowsay "{{hello, world}}"` -- Print an ASCII cow saying text from stdin: +- Print an ASCII cow saying text from `stdin`: `echo "{{hello, world}}" | cowsay` diff --git a/pages/common/cut.md b/pages/common/cut.md index 3917c41a8..5c9833aa2 100644 --- a/pages/common/cut.md +++ b/pages/common/cut.md @@ -1,6 +1,6 @@ # cut -> Cut out fields from stdin or files. +> Cut out fields from `stdin` or files. > More information: . - Print a specific character/field range of each line: diff --git a/pages/common/dash.md b/pages/common/dash.md index d0dd62ce8..21ef84f7f 100644 --- a/pages/common/dash.md +++ b/pages/common/dash.md @@ -27,6 +27,6 @@ `dash -e {{path/to/script.sh}}` -- Execute specific commands from stdin: +- Execute specific commands from `stdin`: `{{echo "echo 'dash is executed'"}} | dash` diff --git a/pages/common/diffoscope.md b/pages/common/diffoscope.md index 89ec7b228..fdbc7c31a 100644 --- a/pages/common/diffoscope.md +++ b/pages/common/diffoscope.md @@ -11,7 +11,7 @@ `diffoscope --no-progress {{path/to/file1}} {{path/to/file2}}` -- Compare two files and write an HTML-report to a file (use `-` for stdout): +- Compare two files and write an HTML-report to a file (use `-` for `stdout`): `diffoscope --html {{path/to/outfile|-}} {{path/to/file1}} {{path/to/file2}}` diff --git a/pages/common/docker-exec.md b/pages/common/docker-exec.md index fc95d382f..823bba39b 100644 --- a/pages/common/docker-exec.md +++ b/pages/common/docker-exec.md @@ -15,7 +15,7 @@ `docker exec --interactive -tty --workdir {{path/to/directory}} {{container_name}} {{command}}` -- Run a command in background on existing container but keep stdin open: +- Run a command in background on existing container but keep `stdin` open: `docker exec --interactive --detach {{container_name}} {{command}}` diff --git a/pages/common/docker-load.md b/pages/common/docker-load.md index 8f8da0c3c..9ac4ce192 100644 --- a/pages/common/docker-load.md +++ b/pages/common/docker-load.md @@ -1,9 +1,9 @@ # docker load -> Load Docker images from files or stdin. +> Load Docker images from files or `stdin`. > More information: . -- Load a Docker image from stdin: +- Load a Docker image from `stdin`: `docker load < {{path/to/image_file.tar}}` diff --git a/pages/common/docker-login.md b/pages/common/docker-login.md index a89f433b0..3e368fbd8 100644 --- a/pages/common/docker-login.md +++ b/pages/common/docker-login.md @@ -15,6 +15,6 @@ `docker login --username {{username}} --password {{password}} {{server}}` -- Log into a registry with password from stdin: +- Log into a registry with password from `stdin`: `echo "{{password}}" | docker login --username {{username}} --password-stdin` diff --git a/pages/common/docker-save.md b/pages/common/docker-save.md index fb18b0181..d6bd9df29 100644 --- a/pages/common/docker-save.md +++ b/pages/common/docker-save.md @@ -3,7 +3,7 @@ > Export one or more docker images to archive. > More information: . -- Save an image by redirecting stdout to a tar archive: +- Save an image by redirecting `stdout` to a tar archive: `docker save {{image}}:{{tag}} > {{path/to/file.tar}}` diff --git a/pages/common/docker-secret.md b/pages/common/docker-secret.md index efb42249b..d6101061c 100644 --- a/pages/common/docker-secret.md +++ b/pages/common/docker-secret.md @@ -3,7 +3,7 @@ > Manage Docker swarm secrets. > More information: . -- Create a new secret from stdin: +- Create a new secret from `stdin`: `{{command}} | docker secret create {{secret_name}} -` diff --git a/pages/common/docker-start.md b/pages/common/docker-start.md index 09993cd63..73e177299 100644 --- a/pages/common/docker-start.md +++ b/pages/common/docker-start.md @@ -11,7 +11,7 @@ `docker start {{container}}` -- Start a container, attaching stdout and stderr and forwarding signals: +- Start a container, attaching `stdout` and `stderr` and forwarding signals: `docker start --attach {{container}}` diff --git a/pages/common/dot.md b/pages/common/dot.md index 8f820e488..179ae9a99 100644 --- a/pages/common/dot.md +++ b/pages/common/dot.md @@ -16,7 +16,7 @@ `dot -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | dot -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/egrep.md b/pages/common/egrep.md index ae589f576..9dcf883d6 100644 --- a/pages/common/egrep.md +++ b/pages/common/egrep.md @@ -11,7 +11,7 @@ `egrep "{{search_pattern}}" {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}` -- Search stdin for a pattern: +- Search `stdin` for a pattern: `cat {{path/to/file}} | egrep {{search_pattern}}` diff --git a/pages/common/emacsclient.md b/pages/common/emacsclient.md index 99d3040b0..eb1e7f34a 100644 --- a/pages/common/emacsclient.md +++ b/pages/common/emacsclient.md @@ -16,7 +16,7 @@ `emacsclient --create-frame {{path/to/file}}` -- Evaluate a command, printing the output to stdout, and then quit: +- Evaluate a command, printing the output to `stdout`, and then quit: `emacsclient --eval '({{command}})'` diff --git a/pages/common/envsubst.md b/pages/common/envsubst.md index c3fec2f80..643ca7143 100644 --- a/pages/common/envsubst.md +++ b/pages/common/envsubst.md @@ -4,11 +4,11 @@ > Variables to be replaced should be in either `${var}` or `$var` format. > More information: . -- Replace environment variables in stdin and output to stdout: +- Replace environment variables in `stdin` and output to `stdout`: `echo '{{$HOME}}' | envsubst` -- Replace environment variables in an input file and output to stdout: +- Replace environment variables in an input file and output to `stdout`: `envsubst < {{path/to/input_file}}` diff --git a/pages/common/esbuild.md b/pages/common/esbuild.md index fd1394e03..7ddfc0223 100644 --- a/pages/common/esbuild.md +++ b/pages/common/esbuild.md @@ -3,11 +3,11 @@ > JavaScript bundler and minifier built for speed. > More information: . -- Bundle a JavaScript application and print to stdout: +- Bundle a JavaScript application and print to `stdout`: `esbuild --bundle {{path/to/file.js}}` -- Bundle a JSX application from stdin: +- Bundle a JSX application from `stdin`: `esbuild --bundle --outfile={{path/to/out.js}} < {{path/to/file.jsx}}` diff --git a/pages/common/factor.md b/pages/common/factor.md index af8cf739f..f63855cc9 100644 --- a/pages/common/factor.md +++ b/pages/common/factor.md @@ -7,6 +7,6 @@ `factor {{number}}` -- Take the input from stdin if no argument is specified: +- Take the input from `stdin` if no argument is specified: `echo {{number}} | factor` diff --git a/pages/common/fdp.md b/pages/common/fdp.md index f14b5d3db..970e326d0 100644 --- a/pages/common/fdp.md +++ b/pages/common/fdp.md @@ -16,7 +16,7 @@ `fdp -T {{ps|pdf|svg|fig|png|gif|jpg|json|dot}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | fdp -T gif > {{path/to/image.gif}}` diff --git a/pages/common/fish.md b/pages/common/fish.md index 36993f64e..c65ce9f17 100644 --- a/pages/common/fish.md +++ b/pages/common/fish.md @@ -23,7 +23,7 @@ `fish --no-execute {{path/to/script.fish}}` -- Execute specific commands from stdin: +- Execute specific commands from `stdin`: `{{echo "echo 'fish is executed'"}} | fish` diff --git a/pages/common/ganache-cli.md b/pages/common/ganache-cli.md index 652ea12fc..d0ec985d3 100644 --- a/pages/common/ganache-cli.md +++ b/pages/common/ganache-cli.md @@ -27,6 +27,6 @@ `ganache-cli --defaultBalanceEther={{default_balance}}` -- Run Ganache and log all requests to stdout: +- Run Ganache and log all requests to `stdout`: `ganache-cli --verbose` diff --git a/pages/common/gh-workflow.md b/pages/common/gh-workflow.md index 375aa0c9e..2daa7177e 100644 --- a/pages/common/gh-workflow.md +++ b/pages/common/gh-workflow.md @@ -27,7 +27,7 @@ `gh workflow run {{id|workflow_name|filename.yml}} --raw-field {{param1}}={{value1}} --raw-field {{param2}}={{value2}}` -- Run a manual workflow using a specific branch or tag with JSON parameters from stdin: +- Run a manual workflow using a specific branch or tag with JSON parameters from `stdin`: `echo '{{{"param1":"value1", "param2":"value2"}}}' | gh workflow run {{id|workflow_name|filename.yml}} --ref {{branch_or_tag_name}}` diff --git a/pages/common/gibo.md b/pages/common/gibo.md index e6b45f5d0..0dd43f0ee 100644 --- a/pages/common/gibo.md +++ b/pages/common/gibo.md @@ -7,7 +7,7 @@ `gibo list` -- Write a boilerplate to stdout: +- Write a boilerplate to `stdout`: `gibo dump {{boilerplate}}` diff --git a/pages/common/gist.md b/pages/common/gist.md index bf732ac3a..3c4b6d3b0 100644 --- a/pages/common/gist.md +++ b/pages/common/gist.md @@ -15,7 +15,7 @@ `gist --private --description "{{A meaningful description}}" {{file.txt}} ` -- Read contents from stdin and create a gist from it: +- Read contents from `stdin` and create a gist from it: `{{echo "hello world"}} | gist` diff --git a/pages/common/git-authors.md b/pages/common/git-authors.md index f71843550..d227b81e4 100644 --- a/pages/common/git-authors.md +++ b/pages/common/git-authors.md @@ -4,7 +4,7 @@ > Part of `git-extras`. > More information: . -- Print a full list of committers to stdout instead of to the `AUTHORS` file: +- Print a full list of committers to `stdout` instead of to the `AUTHORS` file: `git authors --list` diff --git a/pages/common/git-check-ignore.md b/pages/common/git-check-ignore.md index e3984de73..381b6ca6e 100644 --- a/pages/common/git-check-ignore.md +++ b/pages/common/git-check-ignore.md @@ -11,7 +11,7 @@ `git check-ignore {{path/to/file}} {{path/to/directory}}` -- Use pathnames, one per line, from stdin: +- Use pathnames, one per line, from `stdin`: `git check-ignore --stdin < {{path/to/file_list}}` diff --git a/pages/common/git-commit-tree.md b/pages/common/git-commit-tree.md index fefed2be6..4d174596f 100644 --- a/pages/common/git-commit-tree.md +++ b/pages/common/git-commit-tree.md @@ -8,7 +8,7 @@ `git commit-tree {{tree}} -m "{{message}}"` -- Create a commit object reading the message from a file (use `-` for stdin): +- Create a commit object reading the message from a file (use `-` for `stdin`): `git commit-tree {{tree}} -F {{path/to/file}}` diff --git a/pages/common/git-format-patch.md b/pages/common/git-format-patch.md index ed3e69735..6068236fd 100644 --- a/pages/common/git-format-patch.md +++ b/pages/common/git-format-patch.md @@ -8,7 +8,7 @@ `git format-patch {{origin}}` -- Write a `.patch` file for all the commits between 2 revisions to stdout: +- Write a `.patch` file for all the commits between 2 revisions to `stdout`: `git format-patch {{revision_1}}..{{revision_2}}` diff --git a/pages/common/git-hash-object.md b/pages/common/git-hash-object.md index c9b56fa17..7b8ecf103 100644 --- a/pages/common/git-hash-object.md +++ b/pages/common/git-hash-object.md @@ -15,6 +15,6 @@ `git hash-object -t {{blob|commit|tag|tree}} {{path/to/file}}` -- Compute the object ID from stdin: +- Compute the object ID from `stdin`: `cat {{path/to/file}} | git hash-object --stdin` diff --git a/pages/common/git-prune.md b/pages/common/git-prune.md index 9d939b9da..34450cc2f 100644 --- a/pages/common/git-prune.md +++ b/pages/common/git-prune.md @@ -8,7 +8,7 @@ `git prune --dry-run` -- Prune unreachable objects and display what has been pruned to stdout: +- Prune unreachable objects and display what has been pruned to `stdout`: `git prune --verbose` diff --git a/pages/common/git-show-index.md b/pages/common/git-show-index.md index 6ea95bc59..8bc505846 100644 --- a/pages/common/git-show-index.md +++ b/pages/common/git-show-index.md @@ -3,7 +3,7 @@ > Show the packed archive index of a Git repository. > More information: . -- Read an IDX file for a Git packfile and dump its contents to stdout: +- Read an IDX file for a Git packfile and dump its contents to `stdout`: `git show-index {{path/to/file.idx}}` diff --git a/pages/common/gml2gv.md b/pages/common/gml2gv.md index 7b98836ff..f6230737a 100644 --- a/pages/common/gml2gv.md +++ b/pages/common/gml2gv.md @@ -8,7 +8,7 @@ `gml2gv -o {{output.gv}} {{input.gml}}` -- Convert a graph using stdin and stdout: +- Convert a graph using `stdin` and `stdout`: `cat {{input.gml}} | gml2gv > {{output.gv}}` diff --git a/pages/common/gnomon.md b/pages/common/gnomon.md index a84756a67..54d96d771 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 the `stdout` of any command through gnomon: `{{npm test}} | gnomon` diff --git a/pages/common/gpg.md b/pages/common/gpg.md index 79e833b85..4a5618745 100644 --- a/pages/common/gpg.md +++ b/pages/common/gpg.md @@ -20,7 +20,7 @@ `gpg --symmetric {{doc.txt}}` -- Decrypt `doc.txt.gpg` (output to stdout): +- Decrypt `doc.txt.gpg` (output to `stdout`): `gpg --decrypt {{doc.txt.gpg}}` @@ -28,10 +28,10 @@ `gpg --import {{public.gpg}}` -- Export public key for alice@example.com (output to stdout): +- Export public key for alice@example.com (output to `stdout`): `gpg --export --armor {{alice@example.com}}` -- Export private key for alice@example.com (output to stdout): +- Export private key for alice@example.com (output to `stdout`): `gpg --export-secret-keys --armor {{alice@example.com}}` diff --git a/pages/common/graphml2gv.md b/pages/common/graphml2gv.md index e6f7cc29a..d0b7143cb 100644 --- a/pages/common/graphml2gv.md +++ b/pages/common/graphml2gv.md @@ -8,7 +8,7 @@ `graphml2gv -o {{output.gv}} {{input.gml}}` -- Convert a graph using stdin and stdout: +- Convert a graph using `stdin` and `stdout`: `cat {{input.gml}} | graphml2gv > {{output.gv}}` diff --git a/pages/common/grep.md b/pages/common/grep.md index 91c241099..cc3909861 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -31,6 +31,6 @@ `grep --only-matching "{{search_pattern}}" {{path/to/file}}` -- Search stdin for lines that do not match a pattern: +- Search `stdin` for lines that do not match a pattern: `cat {{path/to/file}} | grep --invert-match "{{search_pattern}}"` diff --git a/pages/common/gv2gml.md b/pages/common/gv2gml.md index 75bee0ae0..47ccaac71 100644 --- a/pages/common/gv2gml.md +++ b/pages/common/gv2gml.md @@ -8,7 +8,7 @@ `gv2gml -o {{output.gml}} {{input.gv}}` -- Convert a graph using stdin and stdout: +- Convert a graph using `stdin` and `stdout`: `cat {{input.gv}} | gv2gml > {{output.gml}}` diff --git a/pages/common/gv2gxl.md b/pages/common/gv2gxl.md index 66c0367a8..4a11a2c86 100644 --- a/pages/common/gv2gxl.md +++ b/pages/common/gv2gxl.md @@ -8,7 +8,7 @@ `gv2gxl -o {{output.gxl}} {{input.gv}}` -- Convert a graph using stdin and stdout: +- Convert a graph using `stdin` and `stdout`: `cat {{input.gv}} | gv2gxl > {{output.gxl}}` diff --git a/pages/common/gxl2gv.md b/pages/common/gxl2gv.md index be5163aa1..8bfde52b4 100644 --- a/pages/common/gxl2gv.md +++ b/pages/common/gxl2gv.md @@ -8,7 +8,7 @@ `gxl2gv -o {{output.gv}} {{input.gxl}}` -- Convert a graph using stdin and stdout: +- Convert a graph using `stdin` and `stdout`: `cat {{input.gxl}} | gxl2gv > {{output.gv}}` diff --git a/pages/common/help2man.md b/pages/common/help2man.md index 566aa9cae..0c136c46a 100644 --- a/pages/common/help2man.md +++ b/pages/common/help2man.md @@ -15,7 +15,7 @@ `help2man {{executable}} --section {{section}}` -- Output to a file instead of stdout: +- Output to a file instead of `stdout`: `help2man {{executable}} --output {{path/to/file}}` diff --git a/pages/common/http.md b/pages/common/http.md index f55b0f8ff..edcf23c37 100644 --- a/pages/common/http.md +++ b/pages/common/http.md @@ -27,6 +27,6 @@ `http --auth {{username:password}} {{example.org}}` -- Specify raw request body via stdin: +- Specify raw request body via `stdin`: `cat {{data.txt}} | http PUT {{example.org}}` diff --git a/pages/common/iconv.md b/pages/common/iconv.md index c13357f49..c542e13a0 100644 --- a/pages/common/iconv.md +++ b/pages/common/iconv.md @@ -3,7 +3,7 @@ > Converts text from one encoding to another. > More information: . -- Convert file to a specific encoding, and print to stdout: +- Convert file to a specific encoding, and print to `stdout`: `iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}` diff --git a/pages/common/jello.md b/pages/common/jello.md index 3f1390f3e..fc88b351e 100644 --- a/pages/common/jello.md +++ b/pages/common/jello.md @@ -3,23 +3,23 @@ > A command-line JSON processor using Python syntax. > More information: . -- Pretty-print JSON or JSON-Lines data from stdin to stdout: +- Pretty-print JSON or JSON-Lines data from `stdin` to `stdout`: `cat {{file.json}} | jello` -- Output a schema of JSON or JSON Lines data from stdin to stdout (useful for grep): +- Output a schema of JSON or JSON Lines data from `stdin` to `stdout` (useful for grep): `cat {{file.json}} | jello -s` -- Output all elements from arrays (or all the values from objects) in JSON or JSON-Lines data from stdin to stdout: +- Output all elements from arrays (or all the values from objects) in JSON or JSON-Lines data from `stdin` to `stdout`: `cat {{file.json}} | jello -l` -- Output the first element in JSON or JSON-Lines data from stdin to stdout: +- Output the first element in JSON or JSON-Lines data from `stdin` to `stdout`: `cat {{file.json}} | jello _[0]` -- Output the value of a given key of each element in JSON or JSON-Lines data from stdin to stdout: +- Output the value of a given key of each element in JSON or JSON-Lines data from `stdin` to `stdout`: `cat {{file.json}} | jello '[i.{{key_name}} for i in _]'` diff --git a/pages/common/join.md b/pages/common/join.md index afaa32be3..5aff77035 100644 --- a/pages/common/join.md +++ b/pages/common/join.md @@ -19,6 +19,6 @@ `join -a {{1}} {{file1}} {{file2}}` -- Join a file from stdin: +- Join a file from `stdin`: `cat {{path/to/file1}} | join - {{path/to/file2}}` diff --git a/pages/common/json5.md b/pages/common/json5.md index 578188204..77aa00f2a 100644 --- a/pages/common/json5.md +++ b/pages/common/json5.md @@ -3,11 +3,11 @@ > A command-line tool for converting JSON5 files to JSON. > More information: . -- Convert JSON5 stdin to JSON stdout: +- Convert JSON5 `stdin` to JSON `stdout`: `echo {{input}} | json5` -- Convert a JSON5 file to JSON and output to stdout: +- Convert a JSON5 file to JSON and output to `stdout`: `json5 {{path/to/input_file.json5}}` diff --git a/pages/common/kcat.md b/pages/common/kcat.md index c0c1c88fa..4687435c3 100644 --- a/pages/common/kcat.md +++ b/pages/common/kcat.md @@ -15,7 +15,7 @@ `kcat -G {{group_id}} {{topic}} -b {{brokers}}` -- Publish message by reading from stdin: +- Publish message by reading from `stdin`: ` echo {{message}} | kcat -P -t {{topic}} -b {{brokers}}` diff --git a/pages/common/keep-header.md b/pages/common/keep-header.md index 4db9e4448..cc5076919 100644 --- a/pages/common/keep-header.md +++ b/pages/common/keep-header.md @@ -1,17 +1,17 @@ # keep-header -> Keep first line untouched by a command, passing it directly to stdout. +> Keep first line untouched by a command, passing it directly to `stdout`. > More information: . - Sort a file and keep the first line at the top: `keep-header {{path/to/file}} -- sort` -- Output first line directly to stdout, passing the remainder of the file through the specified command: +- Output first line directly to `stdout`, passing the remainder of the file through the specified command: `keep-header {{path/to/file}} -- {{command}}` -- Read from stdin, sorting all except the first line: +- Read from `stdin`, sorting all except the first line: `cat {{path/to/file}} | keep-header -- {{command}}` diff --git a/pages/common/kitty.md b/pages/common/kitty.md index d7528f3c8..fac95e253 100644 --- a/pages/common/kitty.md +++ b/pages/common/kitty.md @@ -19,6 +19,6 @@ `kitty +kitten icat {{path/to/image}}` -- Copy the contents of stdin to the clipboard: +- Copy the contents of `stdin` to the clipboard: `echo {{example}} | kitty +kitten clipboard` diff --git a/pages/common/lebab.md b/pages/common/lebab.md index 025347f2c..9203985ca 100644 --- a/pages/common/lebab.md +++ b/pages/common/lebab.md @@ -12,7 +12,7 @@ `lebab --transform {{transformation}}` -- Transpile a file to stdout: +- Transpile a file to `stdout`: `lebab {{path/to/input_file}}` diff --git a/pages/common/license.md b/pages/common/license.md index 407032059..f09775586 100644 --- a/pages/common/license.md +++ b/pages/common/license.md @@ -3,7 +3,7 @@ > Create license files for open-source projects. > More information: . -- Print a license to stdout, using the defaults (auto-detected author name, and current year): +- Print a license to `stdout`, using the defaults (auto-detected author name, and current year): `license {{license_name}}` diff --git a/pages/common/licensor.md b/pages/common/licensor.md index a8ce537e6..12c959514 100644 --- a/pages/common/licensor.md +++ b/pages/common/licensor.md @@ -1,6 +1,6 @@ # licensor -> Write licenses to stdout. +> Write licenses to `stdout`. > More information: . - Write the MIT license to a file named `LICENSE`: diff --git a/pages/common/lighthouse.md b/pages/common/lighthouse.md index 17e4731e8..71b4adad1 100644 --- a/pages/common/lighthouse.md +++ b/pages/common/lighthouse.md @@ -15,7 +15,7 @@ `lighthouse --output {{json}} --output-path {{path/to/file.json}} {{https://example.com}}` -- Generate a report using the browser in headless mode without logging to stdout: +- Generate a report using the browser in headless mode without logging to `stdout`: `lighthouse --quiet --chrome-flags="{{--headless}}" {{https://example.com}}` diff --git a/pages/common/llvm-dis.md b/pages/common/llvm-dis.md index c4a8e0cbc..744e46484 100644 --- a/pages/common/llvm-dis.md +++ b/pages/common/llvm-dis.md @@ -3,7 +3,7 @@ > Converts LLVM bitcode files into human-readable LLVM Intermediate Representation (IR). > More information: . -- Convert a bitcode file as LLVM IR and write the result to stdout: +- Convert a bitcode file as LLVM IR and write the result to `stdout`: `llvm-dis {{path/to/input.bc}} -o -` diff --git a/pages/common/logger.md b/pages/common/logger.md index 5f1487762..979d194a5 100644 --- a/pages/common/logger.md +++ b/pages/common/logger.md @@ -7,7 +7,7 @@ `logger {{message}}` -- Take input from stdin and log to syslog: +- Take input from `stdin` and log to syslog: `echo {{log_entry}} | logger` diff --git a/pages/common/lz4.md b/pages/common/lz4.md index 81b2697d4..e2b1397eb 100644 --- a/pages/common/lz4.md +++ b/pages/common/lz4.md @@ -11,7 +11,7 @@ `lz4 -d {{file.lz4}}` -- Decompress a file and write to stdout: +- Decompress a file and write to `stdout`: `lz4 -dc {{file.lz4}}` diff --git a/pages/common/mm2gv.md b/pages/common/mm2gv.md index 14b06f120..981680fab 100644 --- a/pages/common/mm2gv.md +++ b/pages/common/mm2gv.md @@ -8,7 +8,7 @@ `mm2gv -o {{output.gv}} {{input.mm}}` -- Convert a graph using stdin and stdout: +- Convert a graph using `stdin` and `stdout`: `cat {{input.mm}} | mm2gv > {{output.gv}}` diff --git a/pages/common/mongoexport.md b/pages/common/mongoexport.md index c7f0bb4a6..d3ab448fe 100644 --- a/pages/common/mongoexport.md +++ b/pages/common/mongoexport.md @@ -3,7 +3,7 @@ > Produce exports of data stored in a MongoDB instance formatted as JSON or CSV. > More information: . -- Export a collection to stdout, formatted as JSON: +- Export a collection to `stdout`, formatted as JSON: `mongoexport --uri={{connection_string}} --collection={{collection_name}}` @@ -23,7 +23,7 @@ `mongoexport --collection={{collection_name}} --type={{csv}} --fields="{{field1,field2,...}}" --queryFile={{path/to/file}} --noHeaderLine --out={{path/to/file.csv}}` -- Export documents to stdout, formatted as human-readable JSON: +- Export documents to `stdout`, formatted as human-readable JSON: `mongoexport --uri={{mongodb_uri}} --collection={{collection_name}} --pretty` diff --git a/pages/common/monodevelop.md b/pages/common/monodevelop.md index 869f882bd..912320cc9 100644 --- a/pages/common/monodevelop.md +++ b/pages/common/monodevelop.md @@ -19,7 +19,7 @@ `monodevelop --new-window` -- Disable redirection of stdout and stderr to a log file: +- Disable redirection of `stdout` and `stderr` to a log file: `monodevelop --no-redirect` diff --git a/pages/common/mosquitto_pub.md b/pages/common/mosquitto_pub.md index efca91d6c..cde30e4c3 100644 --- a/pages/common/mosquitto_pub.md +++ b/pages/common/mosquitto_pub.md @@ -19,10 +19,10 @@ `mosquitto_pub -t {{sensors/temperature}} -f {{data.txt}}` -- Send the contents of a file (`data.txt`), by reading from stdin and send the entire input as a message and publish it to `sensors/temperature` topic: +- Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic: `mosquitto_pub -t {{sensors/temperature}} -s < {{data.txt}}` -- Read newline delimited data from stdin as a message and publish it to `sensors/temperature` topic: +- Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic: `{{echo data.txt}} | mosquitto_pub -t {{sensors/temperature}} -l` diff --git a/pages/common/neato.md b/pages/common/neato.md index 26cc9a0b8..03e3c3523 100644 --- a/pages/common/neato.md +++ b/pages/common/neato.md @@ -16,7 +16,7 @@ `neato -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{graph {this -- that} }}" | neato -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/nms.md b/pages/common/nms.md index 4a5577d3f..c8a19bef2 100644 --- a/pages/common/nms.md +++ b/pages/common/nms.md @@ -1,6 +1,6 @@ # nms -> Command-line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from stdin. +> Command-line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`. > More information: . - Decrypt text after a keystroke: diff --git a/pages/common/openssl-genrsa.md b/pages/common/openssl-genrsa.md index 5d598cf63..dce1fe873 100644 --- a/pages/common/openssl-genrsa.md +++ b/pages/common/openssl-genrsa.md @@ -3,7 +3,7 @@ > OpenSSL command to generate RSA private keys. > More information: . -- Generate an RSA private key of 2048 bits to stdout: +- Generate an RSA private key of 2048 bits to `stdout`: `openssl genrsa` diff --git a/pages/common/osage.md b/pages/common/osage.md index ced82d422..a198b62f6 100644 --- a/pages/common/osage.md +++ b/pages/common/osage.md @@ -16,7 +16,7 @@ `osage -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | osage -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/parallel.md b/pages/common/parallel.md index 11f821ea5..58018b607 100644 --- a/pages/common/parallel.md +++ b/pages/common/parallel.md @@ -7,7 +7,7 @@ `parallel gzip ::: {{file1}} {{file2}} {{file3}}` -- Read arguments from stdin, run 4 jobs at once: +- Read arguments from `stdin`, run 4 jobs at once: `ls *.txt | parallel -j4 gzip` @@ -19,7 +19,7 @@ `{{args}} | parallel -X {{command}}` -- Break stdin into ~1M blocks, feed each block to stdin of new command: +- Break `stdin` into ~1M blocks, feed each block to `stdin` of new command: `cat {{big_file.txt}} | parallel --pipe --block 1M {{command}}` diff --git a/pages/common/patchwork.md b/pages/common/patchwork.md index 72688623c..cfe0ff360 100644 --- a/pages/common/patchwork.md +++ b/pages/common/patchwork.md @@ -16,7 +16,7 @@ `patchwork -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | patchwork -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/perl.md b/pages/common/perl.md index fd422d858..7c24ecdff 100644 --- a/pages/common/perl.md +++ b/pages/common/perl.md @@ -27,10 +27,10 @@ `perl -p -e 's/{{foo\nbar}}/{{foobar}}/g' {{path/to/input_file}} > {{path/to/output_file}}` -- Run a regular [e]xpression on stdin, printing matching [l]ines: +- Run a regular [e]xpression on `stdin`, printing matching [l]ines: `cat {{path/to/file}} | perl -n -l -e 'print if /{{regular_expression}}/'` -- Run a regular [e]xpression on stdin, printing only the first capture group for each matching [l]ine: +- Run a regular [e]xpression on `stdin`, printing only the first capture group for each matching [l]ine: `cat {{path/to/file}} | perl -n -l -e 'print $1 if /{{before}}({{regular_expression}}){{after}}/'` diff --git a/pages/common/pest.md b/pages/common/pest.md index fe5f88fdf..9f024339b 100644 --- a/pages/common/pest.md +++ b/pages/common/pest.md @@ -15,7 +15,7 @@ `pest --group {{name}}` -- Run tests and print the coverage report to stdout: +- Run tests and print the coverage report to `stdout`: `pest --coverage` diff --git a/pages/common/phpmd.md b/pages/common/phpmd.md index b631f5bc8..524c6c74a 100644 --- a/pages/common/phpmd.md +++ b/pages/common/phpmd.md @@ -23,7 +23,7 @@ `phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --exclude {{directory_patterns}}` -- Output the results to a file instead of stdout: +- Output the results to a file instead of `stdout`: `phpmd {{path/to/file_or_directory}} {{xml|text|html}} {{rulesets}} --reportfile {{path/to/report_file}}` diff --git a/pages/common/pngcheck.md b/pages/common/pngcheck.md index 60285efe1..7512ed34b 100644 --- a/pages/common/pngcheck.md +++ b/pages/common/pngcheck.md @@ -15,7 +15,7 @@ `pngcheck -cvt {{image.png}}` -- Receive an image from stdin and display detailed information: +- Receive an image from `stdin` and display detailed information: `cat {{path/to/image.png}} | pngcheck -cvt` diff --git a/pages/common/prettier.md b/pages/common/prettier.md index bff579d47..309ccdb46 100644 --- a/pages/common/prettier.md +++ b/pages/common/prettier.md @@ -3,7 +3,7 @@ > An opinionated code formatter for JavaScript, JSON, CSS, YAML, and more. > More information: . -- Format a file and print the result to stdout: +- Format a file and print the result to `stdout`: `prettier {{path/to/file}}` diff --git a/pages/common/pretty-bytes.md b/pages/common/pretty-bytes.md index 0733007fa..d0747eae8 100644 --- a/pages/common/pretty-bytes.md +++ b/pages/common/pretty-bytes.md @@ -7,7 +7,7 @@ `pretty-bytes {{1337}}` -- Convert numeric bytes value from stdin to a human-readable string: +- Convert numeric bytes value from `stdin` to a human-readable string: `echo {{1337}} | pretty-bytes` diff --git a/pages/common/promtool.md b/pages/common/promtool.md index ec3dd651b..3e44d5c49 100644 --- a/pages/common/promtool.md +++ b/pages/common/promtool.md @@ -11,7 +11,7 @@ `promtool check rules {{rules_file.yml}}` -- Pass Prometheus metrics over stdin to check them for consistency and correctness: +- Pass Prometheus metrics over `stdin` to check them for consistency and correctness: `curl --silent {{http://example.com:9090/metrics/}} | promtool check metrics` diff --git a/pages/common/pueue-follow.md b/pages/common/pueue-follow.md index 3aa6ee080..a7d8a4b96 100644 --- a/pages/common/pueue-follow.md +++ b/pages/common/pueue-follow.md @@ -4,10 +4,10 @@ > See also: `pueue log`. > More information: . -- Follow the output of a task (stdout + stderr): +- Follow the output of a task (`stdout` + `stderr`): `pueue follow {{task_id}}` -- Follow the stderr of a task: +- Follow the `stderr` of a task: `pueue follow --err {{task_id}}` diff --git a/pages/common/q.md b/pages/common/q.md index cfc176cd4..9828acba0 100644 --- a/pages/common/q.md +++ b/pages/common/q.md @@ -15,7 +15,7 @@ `q -d{{delimiter}} -H "SELECT * from {{path/to/file}}"` -- Read data from stdin; '-' in the query represents the data from stdin: +- Read data from `stdin`; '-' in the query represents the data from `stdin`: `{{output}} | q "select * from -"` diff --git a/pages/common/qutebrowser.md b/pages/common/qutebrowser.md index f1c3b2f9b..5c9a1cc4c 100644 --- a/pages/common/qutebrowser.md +++ b/pages/common/qutebrowser.md @@ -19,6 +19,6 @@ `qutebrowser --target {{auto|tab|tab-bg|tab-silent|tab-bg-silent|window|private-window}}` -- Open qutebrowser with a temporary base directory and print logs to stdout as JSON: +- Open qutebrowser with a temporary base directory and print logs to `stdout` as JSON: `qutebrowser --temp-basedir --json-logging` diff --git a/pages/common/rbash.md b/pages/common/rbash.md index 579eeb027..1d04538da 100644 --- a/pages/common/rbash.md +++ b/pages/common/rbash.md @@ -25,6 +25,6 @@ `rbash -e {{path/to/script.sh}}` -- Read and execute commands from stdin: +- Read and execute commands from `stdin`: `rbash -s` diff --git a/pages/common/react-native.md b/pages/common/react-native.md index 804598888..b47f7b2ee 100644 --- a/pages/common/react-native.md +++ b/pages/common/react-native.md @@ -27,10 +27,10 @@ `react-native run-android --variant={{release}}` -- Start `logkitty` and print logs to stdout: +- Start `logkitty` and print logs to `stdout`: `react-native log-android` -- Start `tail system.log` for an iOS simulator and print logs to stdout: +- Start `tail system.log` for an iOS simulator and print logs to `stdout`: `react-native log-ios` diff --git a/pages/common/read.md b/pages/common/read.md index 6b680f43f..3cb9b4e99 100644 --- a/pages/common/read.md +++ b/pages/common/read.md @@ -31,6 +31,6 @@ `read -s {{variable}}` -- Read stdin and perform an action on every line: +- Read `stdin` and perform an action on every line: `while read line; do echo "$line"; done` diff --git a/pages/common/redis-server.md b/pages/common/redis-server.md index 613106a7f..fa2616100 100644 --- a/pages/common/redis-server.md +++ b/pages/common/redis-server.md @@ -3,7 +3,7 @@ > Persistent key-value database. > More information: . -- Start Redis server, using the default port (6379), and write logs to stdout: +- Start Redis server, using the default port (6379), and write logs to `stdout`: `redis-server` diff --git a/pages/common/rev.md b/pages/common/rev.md index 30b97d37b..21e79afd9 100644 --- a/pages/common/rev.md +++ b/pages/common/rev.md @@ -7,6 +7,6 @@ `echo "hello" | rev` -- Reverse an entire file and print to stdout: +- Reverse an entire file and print to `stdout`: `rev {{file}}` diff --git a/pages/common/samtools.md b/pages/common/samtools.md index 51bce01f1..8f3e4308c 100644 --- a/pages/common/samtools.md +++ b/pages/common/samtools.md @@ -8,7 +8,7 @@ `samtools view -S -b {{input.sam}} > {{output.bam}}` -- Take input from stdin (-) and print the SAM header and any reads overlapping a specific region to stdout: +- Take input from `stdin` (-) and print the SAM header and any reads overlapping a specific region to `stdout`: `{{other_command}} | samtools view -h - chromosome:start-end` diff --git a/pages/common/scrapy.md b/pages/common/scrapy.md index 8b0358f6d..a588bf377 100644 --- a/pages/common/scrapy.md +++ b/pages/common/scrapy.md @@ -19,7 +19,7 @@ `scrapy crawl {{spider_name}}` -- Fetch a webpage as Scrapy sees it and print the source to stdout: +- Fetch a webpage as Scrapy sees it and print the source to `stdout`: `scrapy fetch {{url}}` diff --git a/pages/common/sd.md b/pages/common/sd.md index 4a2ab87c6..09e0fd5b9 100644 --- a/pages/common/sd.md +++ b/pages/common/sd.md @@ -11,7 +11,7 @@ `{{echo 'cargo +nightly watch'}} | sd '(\w+)\s+\+(\w+)\s+(\w+)' 'cmd: $1, channel: $2, subcmd: $3'` -- Find and replace in a file printing the result to stdout: +- Find and replace in a file printing the result to `stdout`: `sd -p {{'window.fetch'}} {{'fetch'}} {{http.js}}` diff --git a/pages/common/secrethub.md b/pages/common/secrethub.md index 788e783cb..b37448ff9 100644 --- a/pages/common/secrethub.md +++ b/pages/common/secrethub.md @@ -3,7 +3,7 @@ > A tool to keep secrets out of config files. > More information: . -- Print a secret to stdout: +- Print a secret to `stdout`: `secrethub read {{path/to/secret}}` @@ -15,7 +15,7 @@ `secrethub write --clip {{path/to/secret}}` -- Store a value supplied on stdin as a new or updated secret: +- Store a value supplied on `stdin` as a new or updated secret: `echo "{{secret_value}}" | secrethub write {{path/to/secret}}` diff --git a/pages/common/seq.md b/pages/common/seq.md index dcb4674f3..297f5cc75 100644 --- a/pages/common/seq.md +++ b/pages/common/seq.md @@ -1,6 +1,6 @@ # seq -> Output a sequence of numbers to stdout. +> Output a sequence of numbers to `stdout`. > More information: . - Sequence from 1 to 10: diff --git a/pages/common/sfdp.md b/pages/common/sfdp.md index b4289cf6a..83b9f46dd 100644 --- a/pages/common/sfdp.md +++ b/pages/common/sfdp.md @@ -16,7 +16,7 @@ `sfdp -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | sfdp -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/sh.md b/pages/common/sh.md index 3ec5b63e8..d69bac9ba 100644 --- a/pages/common/sh.md +++ b/pages/common/sh.md @@ -16,6 +16,6 @@ `sh {{path/to/script.sh}}` -- Read and execute commands from stdin: +- Read and execute commands from `stdin`: `sh -s` diff --git a/pages/common/shasum.md b/pages/common/shasum.md index baafdcc0d..5b964055d 100644 --- a/pages/common/shasum.md +++ b/pages/common/shasum.md @@ -27,6 +27,6 @@ `shasum --check --quiet {{path/to/file}}` -- Calculate the SHA1 checksum from stdin: +- Calculate the SHA1 checksum from `stdin`: `{{some_command}} | shasum` diff --git a/pages/common/sshpass.md b/pages/common/sshpass.md index e0980a2a8..e8b52f277 100644 --- a/pages/common/sshpass.md +++ b/pages/common/sshpass.md @@ -1,10 +1,10 @@ # sshpass > An ssh password provider. -> It works by creating a TTY, feeding the password into it, and then redirecting stdin to the ssh session. +> It works by creating a TTY, feeding the password into it, and then redirecting `stdin` to the ssh session. > More information: . -- Connect to a remote server using a password supplied on a file descriptor (in this case, stdin): +- Connect to a remote server using a password supplied on a file descriptor (in this case, `stdin`): `sshpass -d {{0}} ssh {{user}}@{{hostname}}` diff --git a/pages/common/steam.md b/pages/common/steam.md index 19660330f..144a3bb94 100644 --- a/pages/common/steam.md +++ b/pages/common/steam.md @@ -3,7 +3,7 @@ > Video game platform by Valve. > More information: . -- Launch Steam, printing debug messages to stdout: +- Launch Steam, printing debug messages to `stdout`: `steam` diff --git a/pages/common/supervisorctl.md b/pages/common/supervisorctl.md index 79a8f40d4..a42960008 100644 --- a/pages/common/supervisorctl.md +++ b/pages/common/supervisorctl.md @@ -12,11 +12,11 @@ `supervisorctl {{start|stop|restart}} {{group_name}}:*` -- Show last 100 **bytes** of process stderr: +- Show last 100 **bytes** of process `stderr`: `supervisorctl tail -100 {{process_name}} stderr` -- Keep displaying stdout of a process: +- Keep displaying `stdout` of a process: `supervisorctl tail -f {{process_name}} stdout` diff --git a/pages/common/svgr.md b/pages/common/svgr.md index 6ef5bac85..4e050ff03 100644 --- a/pages/common/svgr.md +++ b/pages/common/svgr.md @@ -3,15 +3,15 @@ > Transform SVGs into React components. > More information: . -- Transform a SVG file into a React component to stdout: +- Transform a SVG file into a React component to `stdout`: `svgr -- {{path/to/file.svg}}` -- Transform a SVG file into a React component using TypeScript to stdout: +- Transform a SVG file into a React component using TypeScript to `stdout`: `svgr --typescript -- {{path/to/file.svg}}` -- Transform a SVG file into a React component using JSX transform to stdout: +- Transform a SVG file into a React component using JSX transform to `stdout`: `svgr --jsx-runtime automatic -- {{path/to/file.svg}}` diff --git a/pages/common/swc.md b/pages/common/swc.md index 3823e3eee..b01b4d8a3 100644 --- a/pages/common/swc.md +++ b/pages/common/swc.md @@ -3,7 +3,7 @@ > JavaScript and TypeScript compiler written in Rust. > More information: . -- Transpile a specified input file and output to stdout: +- Transpile a specified input file and output to `stdout`: `swc {{path/to/file}}` diff --git a/pages/common/tcsh.md b/pages/common/tcsh.md index e51e7ca40..cf6ec8825 100644 --- a/pages/common/tcsh.md +++ b/pages/common/tcsh.md @@ -24,6 +24,6 @@ `tcsh -n {{path/to/script.tcsh}}` -- Execute specific commands from stdin: +- Execute specific commands from `stdin`: `{{echo "echo 'tcsh is executed'"}} | tcsh` diff --git a/pages/common/terraform-fmt.md b/pages/common/terraform-fmt.md index 36a9e21f5..6dd186749 100644 --- a/pages/common/terraform-fmt.md +++ b/pages/common/terraform-fmt.md @@ -15,6 +15,6 @@ `terraform fmt -diff` -- Do not list files that were formatted to stdout: +- Do not list files that were formatted to `stdout`: `terraform fmt -list=false` diff --git a/pages/common/textql.md b/pages/common/textql.md index 6dcd30518..4b485b81b 100644 --- a/pages/common/textql.md +++ b/pages/common/textql.md @@ -3,7 +3,7 @@ > Execute SQL against structured text like csv or tsv files. > More information: . -- Print the lines in the specified `.csv` file that match a SQL query to stdout: +- Print the lines in the specified `.csv` file that match a SQL query to `stdout`: `textql -sql "{{SELECT * FROM filename}}" {{path/to/filename.csv}}` @@ -15,7 +15,7 @@ `textql -dlm={{delimiter}} -header -sql "{{SELECT * FROM filename}}" {{path/to/filename.csv}}` -- Read data from stdin: +- Read data from `stdin`: `cat {{path/to/file}} | textql -sql "{{SELECT * FROM stdin}}"` diff --git a/pages/common/tldr-lint.md b/pages/common/tldr-lint.md index 08e235b9d..4c27e2a30 100644 --- a/pages/common/tldr-lint.md +++ b/pages/common/tldr-lint.md @@ -7,7 +7,7 @@ `tldr-lint {{pages_directory}}` -- Format a specific page to stdout: +- Format a specific page to `stdout`: `tldr-lint --format {{page.md}}` diff --git a/pages/common/tlmgr-key.md b/pages/common/tlmgr-key.md index a173bb21c..7606aaef0 100644 --- a/pages/common/tlmgr-key.md +++ b/pages/common/tlmgr-key.md @@ -11,7 +11,7 @@ `sudo tlmgr key add {{path/to/key.gpg}}` -- Add a key from stdin: +- Add a key from `stdin`: `cat {{path/to/key.gpg}} | sudo tlmgr key add -` diff --git a/pages/common/tlmgr-recreate-tlpdb.md b/pages/common/tlmgr-recreate-tlpdb.md index 33c413251..3aeeaa4fd 100644 --- a/pages/common/tlmgr-recreate-tlpdb.md +++ b/pages/common/tlmgr-recreate-tlpdb.md @@ -4,6 +4,6 @@ > This command has a lack of documentation and should be used with caution. > More information: . -- Recreate the `texlive.tlpdb` database file and dump it to stdout: +- Recreate the `texlive.tlpdb` database file and dump it to `stdout`: `sudo tlmgr recreate-tlpdb` diff --git a/pages/common/twopi.md b/pages/common/twopi.md index 9f95458e9..cc7de323a 100644 --- a/pages/common/twopi.md +++ b/pages/common/twopi.md @@ -16,7 +16,7 @@ `twopi -T {{format}} -O {{path/to/input.gv}}` -- Render a `gif` image using stdin and stdout: +- Render a `gif` image using `stdin` and `stdout`: `echo "{{digraph {this -> that} }}" | twopi -T {{gif}} > {{path/to/image.gif}}` diff --git a/pages/common/uncrustify.md b/pages/common/uncrustify.md index 792e205c2..72d102024 100644 --- a/pages/common/uncrustify.md +++ b/pages/common/uncrustify.md @@ -7,7 +7,7 @@ `uncrustify -f {{path/to/file.cpp}} -o {{path/to/output.cpp}}` -- Read filenames from stdin, and take backups before writing output back to the original filepaths: +- Read filenames from `stdin`, and take backups before writing output back to the original filepaths: `find . -name "*.cpp" | uncrustify -F - --replace` @@ -15,7 +15,7 @@ `find . -name "*.cpp" | uncrustify -F - --no-backup` -- Use a custom configuration file and write the result to stdout: +- Use a custom configuration file and write the result to `stdout`: `uncrustify -c {{path/to/uncrustify.cfg}} -f {{path/to/file.cpp}}` diff --git a/pages/common/unzip.md b/pages/common/unzip.md index 46d8a1451..f64fa8d68 100644 --- a/pages/common/unzip.md +++ b/pages/common/unzip.md @@ -15,7 +15,7 @@ `unzip -l {{file.zip}}` -- Extract the contents of the file(s) to stdout alongside the extracted file names: +- Extract the contents of the file(s) to `stdout` alongside the extracted file names: `unzip -c {{file.zip}}` diff --git a/pages/common/uudecode.md b/pages/common/uudecode.md index 5cfe79332..a017555ac 100644 --- a/pages/common/uudecode.md +++ b/pages/common/uudecode.md @@ -3,7 +3,7 @@ > Decode files encoded by `uuencode`. > More information: . -- Decode a file that was encoded with `uuencode` and print the result to stdout: +- Decode a file that was encoded with `uuencode` and print the result to `stdout`: `uudecode {{path/to/encoded_file}}` diff --git a/pages/common/uuencode.md b/pages/common/uuencode.md index 55b84dc78..545a1f18a 100644 --- a/pages/common/uuencode.md +++ b/pages/common/uuencode.md @@ -3,7 +3,7 @@ > Encode binary files into ASCII for transport via mediums that only support simple ASCII encoding. > More information: . -- Encode a file and print the result to stdout: +- Encode a file and print the result to `stdout`: `uuencode {{path/to/input_file}} {{output_file_name_after_decoding}}` diff --git a/pages/common/vale.md b/pages/common/vale.md index 9e7e336a5..71ff2b669 100644 --- a/pages/common/vale.md +++ b/pages/common/vale.md @@ -19,7 +19,7 @@ `vale --minAlertLeve={{suggestion|warning|error}} {{file}}` -- Check the style from stdin, specifying markup format: +- Check the style from `stdin`, specifying markup format: `cat {{file.md}} | vale --ext=.md` diff --git a/pages/common/while.md b/pages/common/while.md index 79719a56b..67cde5af7 100644 --- a/pages/common/while.md +++ b/pages/common/while.md @@ -3,7 +3,7 @@ > Simple shell loop. > More information: . -- Read stdin and perform an action on every line: +- Read `stdin` and perform an action on every line: `while read line; do echo "$line"; done` diff --git a/pages/common/xml-depyx.md b/pages/common/xml-depyx.md index 2e6ee7e3c..2c54a1a84 100644 --- a/pages/common/xml-depyx.md +++ b/pages/common/xml-depyx.md @@ -7,7 +7,7 @@ `xml depyx {{path/to/input.pyx|URI}} > {{path/to/output.xml}}` -- Convert a PYX document from stdin to XML format: +- Convert a PYX document from `stdin` to XML format: `cat {{path/to/input.pyx}} | xml depyx > {{path/to/output.xml}}` diff --git a/pages/common/xml-escape.md b/pages/common/xml-escape.md index 7d80f61ea..7bd4a9f96 100644 --- a/pages/common/xml-escape.md +++ b/pages/common/xml-escape.md @@ -7,7 +7,7 @@ `xml escape "{{}}"` -- Escape special XML characters from stdin: +- Escape special XML characters from `stdin`: `echo "{{}}" | xml escape` diff --git a/pages/common/xml-format.md b/pages/common/xml-format.md index 9ff6b7f42..c82408662 100644 --- a/pages/common/xml-format.md +++ b/pages/common/xml-format.md @@ -15,7 +15,7 @@ `xml format --recover --noindent {{path/to/malformed.xml|URI}} > {{path/to/recovered.xml}}` -- Format an XML document from stdin, removing the `DOCTYPE` declaration: +- Format an XML document from `stdin`, removing the `DOCTYPE` declaration: `cat {{path\to\input.xml}} | xml format --dropdtd > {{path/to/output.xml}}` diff --git a/pages/common/xml-pyx.md b/pages/common/xml-pyx.md index e79922bdf..0b67115d1 100644 --- a/pages/common/xml-pyx.md +++ b/pages/common/xml-pyx.md @@ -7,7 +7,7 @@ `xml pyx {{path/to/input.xml|URI}} > {{path/to/output.pyx}}` -- Convert an XML document from stdin to PYX format: +- Convert an XML document from `stdin` to PYX format: `cat {{path/to/input.xml}} | xml pyx > {{path/to/output.pyx}}` diff --git a/pages/common/xml-unescape.md b/pages/common/xml-unescape.md index c4b8bf61d..78158b1ec 100644 --- a/pages/common/xml-unescape.md +++ b/pages/common/xml-unescape.md @@ -7,7 +7,7 @@ `xml unescape "{{<a1>}}"` -- Unescape special XML characters from stdin: +- Unescape special XML characters from `stdin`: `echo "{{<a1>}}" | xml unescape` diff --git a/pages/common/xml.md b/pages/common/xml.md index 2bdd64351..11aab2ad7 100644 --- a/pages/common/xml.md +++ b/pages/common/xml.md @@ -8,11 +8,11 @@ `xml --help` -- Execute a subcommand with input from a file or URI, printing to stdout: +- Execute a subcommand with input from a file or URI, printing to `stdout`: `xml {{subcommand}} {{options}} {{path/to/input.xml|URI}}` -- Execute a subcommand using stdin and stdout: +- Execute a subcommand using `stdin` and `stdout`: `xml {{subcommand}} {{options}}` diff --git a/pages/common/xz.md b/pages/common/xz.md index d71ae19f6..9f44f70de 100644 --- a/pages/common/xz.md +++ b/pages/common/xz.md @@ -19,7 +19,7 @@ `xz -d --format={{lzma}} {{file.lzma}}` -- Decompress a file and write to stdout: +- Decompress a file and write to `stdout`: `xz -dc {{file.xz}}` diff --git a/pages/common/yank.md b/pages/common/yank.md index ed7d526b8..9917069e6 100644 --- a/pages/common/yank.md +++ b/pages/common/yank.md @@ -1,6 +1,6 @@ # yank -> Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard. +> Read input from `stdin` and display a selection interface that allows a field to be selected and copied to the clipboard. > More information: . - Yank using the default delimiters (\f, \n, \r, \s, \t): diff --git a/pages/common/yq.md b/pages/common/yq.md index 83ddf3ab1..bd32fe637 100644 --- a/pages/common/yq.md +++ b/pages/common/yq.md @@ -27,10 +27,10 @@ `yq write --inplace {{path/to/file.yaml}} '{{key}}' '{{value}}'` -- Merge two files and print to stdout (v4+): +- Merge two files and print to `stdout` (v4+): `yq eval-all 'select(filename == "{{path/to/file1.yaml}}") * select(filename == "{{path/to/file2.yaml}}")' {{path/to/file1.yaml}} {{path/to/file2.yaml}}` -- Merge two files and print to stdout (v3): +- Merge two files and print to `stdout` (v3): `yq merge {{path/to/file1.yaml}} {{path/to/file2.yaml}} --colors` diff --git a/pages/common/zek.md b/pages/common/zek.md index 0a9c93f6c..8acfea324 100644 --- a/pages/common/zek.md +++ b/pages/common/zek.md @@ -3,14 +3,14 @@ > Generate a Go struct from XML. > More information: . -- Generate a Go struct from a given XML from stdin and display output on stdout: +- Generate a Go struct from a given XML from `stdin` and display output on `stdout`: `cat {{path/to/input.xml}} | zek` -- Generate a Go struct from a given XML from stdin and send output to a file: +- Generate a Go struct from a given XML from `stdin` and send output to a file: `curl -s {{https://url/to/xml}} | zek -o {{path/to/output.go}}` -- Generate an example Go program from a given XML from stdin and send output to a file: +- Generate an example Go program from a given XML from `stdin` and send output to a file: `cat {{path/to/input.xml}} | zek -p -o {{path/to/output.go}}` diff --git a/pages/common/zstd.md b/pages/common/zstd.md index eaaacca6a..7a1d324b9 100644 --- a/pages/common/zstd.md +++ b/pages/common/zstd.md @@ -11,7 +11,7 @@ `zstd -d {{file}}.zst` -- Decompress to stdout: +- Decompress to `stdout`: `zstd -dc {{file}}.zst` diff --git a/pages/linux/bluetoothd.md b/pages/linux/bluetoothd.md index 05ccc8030..0fd10ca45 100644 --- a/pages/linux/bluetoothd.md +++ b/pages/linux/bluetoothd.md @@ -7,7 +7,7 @@ `bluetoothd` -- Start the daemon, logging to stdout: +- Start the daemon, logging to `stdout`: `bluetoothd --nodetach` @@ -15,7 +15,7 @@ `bluetoothd --configfile {{path/to/file}}` -- Start the daemon with verbose output to stderr: +- Start the daemon with verbose output to `stderr`: `bluetoothd --debug` diff --git a/pages/linux/chpasswd.md b/pages/linux/chpasswd.md index d76a40641..8af261b88 100644 --- a/pages/linux/chpasswd.md +++ b/pages/linux/chpasswd.md @@ -1,6 +1,6 @@ # chpasswd -> Change the passwords for multiple users by using stdin. +> Change the passwords for multiple users by using `stdin`. > More information: . - Change the password for a specific user: diff --git a/pages/linux/colrm.md b/pages/linux/colrm.md index 9bba455c1..2c0693eb5 100644 --- a/pages/linux/colrm.md +++ b/pages/linux/colrm.md @@ -1,9 +1,9 @@ # colrm -> Remove columns from stdin. +> Remove columns from `stdin`. > More information: . -- Remove first column of stdin: +- Remove first column of `stdin`: `colrm {{1 1}}` diff --git a/pages/linux/dbus-daemon.md b/pages/linux/dbus-daemon.md index 8f111bad5..e2d279753 100644 --- a/pages/linux/dbus-daemon.md +++ b/pages/linux/dbus-daemon.md @@ -19,7 +19,7 @@ `dbus-daemon --address {{address}}` -- Output the process ID to stdout: +- Output the process ID to `stdout`: `dbus-daemon --print-pid` diff --git a/pages/linux/e2image.md b/pages/linux/e2image.md index e13bb4812..c4d68a3b6 100644 --- a/pages/linux/e2image.md +++ b/pages/linux/e2image.md @@ -7,7 +7,7 @@ `e2image {{/dev/sdXN}} {{path/to/image_file}}` -- Print metadata located on device to stdout: +- Print metadata located on device to `stdout`: `e2image {{/dev/sdXN}} -` diff --git a/pages/linux/gcov.md b/pages/linux/gcov.md index b592fcd4e..c03c9d059 100644 --- a/pages/linux/gcov.md +++ b/pages/linux/gcov.md @@ -12,7 +12,7 @@ `gcov --all-blocks {{path/to/file.cpp}}` -- Write branch frequencies to the output file and print summary information to stdout as a percentage: +- Write branch frequencies to the output file and print summary information to `stdout` as a percentage: `gcov --branch-probabilities {{path/to/file.cpp}}` diff --git a/pages/linux/goaccess.md b/pages/linux/goaccess.md index 2084789e0..a5ee6e604 100644 --- a/pages/linux/goaccess.md +++ b/pages/linux/goaccess.md @@ -11,7 +11,7 @@ `goaccess {{path/to/logfile}} --log-format={{format}}` -- Analyze a log from stdin: +- Analyze a log from `stdin`: `tail -f {{path/to/logfile}} | goaccess -` diff --git a/pages/linux/grub-mkconfig.md b/pages/linux/grub-mkconfig.md index 1527f2310..7d0f853cb 100644 --- a/pages/linux/grub-mkconfig.md +++ b/pages/linux/grub-mkconfig.md @@ -3,7 +3,7 @@ > Generate a GRUB configuration file. > More information: . -- Do a dry run and print the configuration to stdout: +- Do a dry run and print the configuration to `stdout`: `sudo grub-mkconfig` diff --git a/pages/linux/i3status.md b/pages/linux/i3status.md index 311ae05a1..4318d3d69 100644 --- a/pages/linux/i3status.md +++ b/pages/linux/i3status.md @@ -4,11 +4,11 @@ > This command is usually called from the i3 configuration file. > More information: . -- Print the status line to stdout periodically, using the default configuration: +- Print the status line to `stdout` periodically, using the default configuration: `i3status` -- Print the status line to stdout periodically, using a specific configuration: +- Print the status line to `stdout` periodically, using a specific configuration: `i3status -c {{path/to/i3status.conf}}` diff --git a/pages/linux/isoinfo.md b/pages/linux/isoinfo.md index 511e4eb0d..e914f9d19 100644 --- a/pages/linux/isoinfo.md +++ b/pages/linux/isoinfo.md @@ -7,7 +7,7 @@ `isoinfo -f -i {{path/to/image.iso}}` -- E[x]tract a specific file from an ISO image and send it out stdout: +- E[x]tract a specific file from an ISO image and send it out `stdout`: `isoinfo -i {{path/to/image.iso}} -x {{/PATH/TO/FILE/INSIDE/ISO.EXT}}` diff --git a/pages/linux/kdialog.md b/pages/linux/kdialog.md index 350117804..737b58731 100644 --- a/pages/linux/kdialog.md +++ b/pages/linux/kdialog.md @@ -15,22 +15,22 @@ `kdialog --warningyesnocancel "{{message}}"` -- Open an input dialog box and print the input to stdout when `OK` is pressed: +- Open an input dialog box and print the input to `stdout` when `OK` is pressed: `kdialog --inputbox "{{message}}" "{{optional_default_text}}"` -- Open a dialog to prompt for a specific password and print it to stdout: +- Open a dialog to prompt for a specific password and print it to `stdout`: `kdialog --password "{{message}}"` -- Open a dialog containing a specific dropdown menu and print the selected item to stdout: +- Open a dialog containing a specific dropdown menu and print the selected item to `stdout`: `kdialog --combobx "{{message}}" "{{item1}}" "{{item2}}" "{{...}}"` -- Open a file chooser dialog and print the selected file's path to stdout: +- Open a file chooser dialog and print the selected file's path to `stdout`: `kdialog --getopenfilename` -- Open a progressbar dialog and print a DBUS reference for communication to stdout: +- Open a progressbar dialog and print a DBUS reference for communication to `stdout`: `kdialog --progressbar "{{message}}"` diff --git a/pages/linux/lslocks.md b/pages/linux/lslocks.md index 046eb906d..495d0cc1d 100644 --- a/pages/linux/lslocks.md +++ b/pages/linux/lslocks.md @@ -19,6 +19,6 @@ `lslocks --pid {{PID}}` -- List locks with JSON output to stdout: +- List locks with JSON output to `stdout`: `lslocks --json` diff --git a/pages/linux/mimetype.md b/pages/linux/mimetype.md index 5ca914532..4e0df0d7a 100644 --- a/pages/linux/mimetype.md +++ b/pages/linux/mimetype.md @@ -15,7 +15,7 @@ `mimetype --describe {{path/to/file}}` -- Determine the MIME type of stdin (does not check a filename): +- Determine the MIME type of `stdin` (does not check a filename): `{{some_command}} | mimetype --stdin` diff --git a/pages/linux/mpg123.md b/pages/linux/mpg123.md index 6c704436e..e06d41ab0 100644 --- a/pages/linux/mpg123.md +++ b/pages/linux/mpg123.md @@ -7,7 +7,7 @@ `mpg123 {{path/to/file1.mp3 path/to/file2.mp3 ...}}` -- Play the mp3 from stdin: +- Play the mp3 from `stdin`: `cat {{file.mp3}} | mpg123 -` diff --git a/pages/linux/rankmirrors.md b/pages/linux/rankmirrors.md index cca8a3442..42bc6efba 100644 --- a/pages/linux/rankmirrors.md +++ b/pages/linux/rankmirrors.md @@ -1,7 +1,7 @@ # rankmirrors > Rank a list of Pacman mirrors by connection and opening speed. -> Writes the new mirrorlist to stdout. +> Writes the new mirrorlist to `stdout`. > More information: . - Rank a mirror list: diff --git a/pages/linux/rofi.md b/pages/linux/rofi.md index 6c1b1ee3c..676f02781 100644 --- a/pages/linux/rofi.md +++ b/pages/linux/rofi.md @@ -15,6 +15,6 @@ `rofi -show window` -- Pipe a list of items to stdin and print the selected item to stdout: +- Pipe a list of items to `stdin` and print the selected item to `stdout`: `printf "{{Choice1\nChoice2\nChoice3}}" | rofi -dmenu` diff --git a/pages/linux/runlim.md b/pages/linux/runlim.md index 6fa3468ce..6d4f13587 100644 --- a/pages/linux/runlim.md +++ b/pages/linux/runlim.md @@ -7,7 +7,7 @@ `runlim {{command}} {{command_arguments}}` -- Log statistics to a file instead of stdout: +- Log statistics to a file instead of `stdout`: `runlim --output-file={{path/to/file}} {{command}} {{command_arguments}}` diff --git a/pages/linux/ttyplot.md b/pages/linux/ttyplot.md index 462782e9c..0e724b318 100644 --- a/pages/linux/ttyplot.md +++ b/pages/linux/ttyplot.md @@ -1,6 +1,6 @@ # ttyplot -> A realtime plotting utility for the command line with data input from stdin. +> A realtime plotting utility for the command line with data input from `stdin`. > More information: . - Plot the values `1`, `2` and `3` (`cat` prevents ttyplot to exit): diff --git a/pages/linux/wpa_passphrase.md b/pages/linux/wpa_passphrase.md index fcf654baf..1e6865314 100644 --- a/pages/linux/wpa_passphrase.md +++ b/pages/linux/wpa_passphrase.md @@ -3,7 +3,7 @@ > Generate a WPA-PSK key from an ASCII passphrase for a given SSID. > More information: . -- Compute and display the WPA-PSK key for a given SSID reading the passphrase from stdin: +- Compute and display the WPA-PSK key for a given SSID reading the passphrase from `stdin`: `wpa_passphrase {{SSID}}` diff --git a/pages/linux/xcursorgen.md b/pages/linux/xcursorgen.md index 2692d8037..9f301bd21 100644 --- a/pages/linux/xcursorgen.md +++ b/pages/linux/xcursorgen.md @@ -12,6 +12,6 @@ `xcursorgen --prefix {{path/to/image_directory/}} {{path/to/config.cursor}} {{path/to/output_file}}` -- Create an X cursor file using a config file and write the output to stdout: +- Create an X cursor file using a config file and write the output to `stdout`: `xcursorgen {{path/to/config.cursor}}` diff --git a/pages/osx/base64.md b/pages/osx/base64.md index 941b325b3..28e6ee8a7 100644 --- a/pages/osx/base64.md +++ b/pages/osx/base64.md @@ -11,10 +11,10 @@ `base64 --decode --input={{base64_file}}` -- Encode from stdin: +- Encode from `stdin`: `echo -n "{{plain_text}}" | base64` -- Decode from stdin: +- Decode from `stdin`: `echo -n {{base64_text}} | base64 --decode` diff --git a/pages/osx/cut.md b/pages/osx/cut.md index e78f290e7..f4b86829d 100644 --- a/pages/osx/cut.md +++ b/pages/osx/cut.md @@ -1,6 +1,6 @@ # cut -> Cut out fields from stdin or files. +> Cut out fields from `stdin` or files. > More information: . - Print a specific character/field range of each line: diff --git a/pages/osx/pbcopy.md b/pages/osx/pbcopy.md index 1e61edc79..bcae97b5f 100644 --- a/pages/osx/pbcopy.md +++ b/pages/osx/pbcopy.md @@ -1,6 +1,6 @@ # pbcopy -> Copy data from stdin to the clipboard. +> Copy data from `stdin` to the clipboard. > More information: . - Place the contents of a specific file in the clipboard: diff --git a/pages/osx/plutil.md b/pages/osx/plutil.md index d88fa172d..373146ee7 100644 --- a/pages/osx/plutil.md +++ b/pages/osx/plutil.md @@ -19,6 +19,6 @@ `plutil -convert {{xml1|binary1|json|swift|objc}} {{path/to/file.plist}} -o {{path/to/new_file.plist}}` -- Convert a plist file to a different format, writing to stdout: +- Convert a plist file to a different format, writing to `stdout`: `plutil -convert {{xml1|binary1|json|swift|objc}} {{path/to/file.plist}} -o -` diff --git a/pages/windows/more.md b/pages/windows/more.md index 2eee5d879..302d33c56 100644 --- a/pages/windows/more.md +++ b/pages/windows/more.md @@ -1,9 +1,9 @@ # more -> Display paginated output from stdin or a file. +> Display paginated output from `stdin` or a file. > More information: . -- Display paginated output from stdin: +- Display paginated output from `stdin`: `{{echo test}} | more` diff --git a/pages/windows/msg.md b/pages/windows/msg.md index 8c449fd83..262262456 100644 --- a/pages/windows/msg.md +++ b/pages/windows/msg.md @@ -7,7 +7,7 @@ `msg {{username|session_name|session_id}} {{message}}` -- Send a message from stdin: +- Send a message from `stdin`: `echo "{{message}}" | msg {{username|session_name|session_id}}` diff --git a/pages/windows/rdpsign.md b/pages/windows/rdpsign.md index 80889ad9b..3635e9f56 100644 --- a/pages/windows/rdpsign.md +++ b/pages/windows/rdpsign.md @@ -19,6 +19,6 @@ `rdpsign {{path/to/file.rdp}} /v` -- Test the signing by displaying the output to stdout without updating the file: +- Test the signing by displaying the output to `stdout` without updating the file: `rdpsign {{path/to/file.rdp}} /l`