pages*: add backticks to every io stream (#10442)

* pages*: add backticks to every io stream
This commit is contained in:
4G3NT
2023-07-02 06:12:01 -07:00
committed by GitHub
parent 8523d2037f
commit 87ec0727fc
127 changed files with 163 additions and 163 deletions

View File

@@ -11,10 +11,10 @@
`bb -f {{path/to/script.clj}}`
- Bind input to a sequence of lines from stdin:
- Bind input to a sequence of lines from `stdin`:
`printf "first\nsecond" | bb -i "(map clojure.string/capitalize *input*)"`
- Bind input to a sequence of EDN(Extensible Data Notation) values from stdin:
- Bind input to a sequence of EDN(Extensible Data Notation) values from `stdin`:
`echo "{:key 'val}" | bb -I "(:key (first *input*))"`

View File

@@ -12,7 +12,7 @@
`md-to-clip --output-directory {{path/to/directory}} {{path/to/page1.md path/to/page2.md ...}}`
- Convert a tldr-page file to stdout:
- Convert a tldr-page file to `stdout`:
`md-to-clip --no-file-save <(echo '{{page-content}}')`

View File

@@ -16,6 +16,6 @@
`nix build {{./path/to/directory}}`
- Build a package without making the `result` symlink, instead printing the store path to the stdout:
- Build a package without making the `result` symlink, instead printing the store path to the `stdout`:
`nix build --no-link --print-out-paths`

View File

@@ -7,6 +7,6 @@
`nix edit {{nixpkgs#pkg}}`
- Dump the source of a package to stdout:
- Dump the source of a package to `stdout`:
`EDITOR=cat nix edit {{nixpkgs#pkg}}`

View File

@@ -8,7 +8,7 @@
`prqlc compile`
- Compile a specific `.prql` file to stdout:
- Compile a specific `.prql` file to `stdout`:
`prqlc compile {{path/to/file.prql}}`

View File

@@ -4,11 +4,11 @@
> Note: You will likely need to know XPath: <https://developer.mozilla.org/en-US/docs/Web/XPath>.
> More information: <https://xmlstar.sourceforge.net/docs.php>.
- Format an XML document and print to stdout:
- Format an XML document and print to `stdout`:
`xmlstarlet format {{path/to/file.xml}}`
- XML document can also be piped from stdin:
- XML document can also be piped from `stdin`:
`{{cat path/to/file.xml}} | xmlstarlet format`
@@ -16,7 +16,7 @@
`xmlstarlet select --template --copy-of {{xpath}} {{path/to/file.xml}}`
- Insert an attribute to all matching nodes, and print to stdout (source file is unchanged):
- Insert an attribute to all matching nodes, and print to `stdout` (source file is unchanged):
`xmlstarlet edit --insert {{xpath}} --type attr --name {{attribute_name}} --value {{attribute_value}} {{path/to/file.xml}}`

View File

@@ -20,7 +20,7 @@
`zsh --no-exec {{path/to/script.zsh}}`
- Execute specific commands from stdin:
- Execute specific commands from `stdin`:
`{{echo Hello world}} | zsh`