pages*: add backticks to every io stream (#10442)
* pages*: add backticks to every io stream
This commit is contained in:
@@ -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}}`
|
||||
|
||||
|
Reference in New Issue
Block a user