mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
in-toto-run, pueue-add, x8, ippeveps, pasuspender, screenkey: fix nested placeholders (#17255)
This commit is contained in:
@@ -17,4 +17,4 @@
|
||||
|
||||
- Scan the image using Trivy and generate link file:
|
||||
|
||||
`in-toto-run {{[-n|--step-name]}} {{scan}} -k {{key_file}} {{[-p|--products]}} {{report.json}} -- {{/bin/sh -c "trivy {{[-o|--output]}} report.json {{[-f|--format]}} json <IMAGE>"}}`
|
||||
`in-toto-run {{[-n|--step-name]}} {{scan}} -k {{key_file}} {{[-p|--products]}} {{report.json}} -- {{/bin/sh -c "trivy --output report.json --format json <IMAGE>"}}`
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
|
||||
- Print a file from `stdin` to `stdout`:
|
||||
|
||||
`{{wget {{[-O|--output-document]}} - https://example.com/file}} | ippeveps`
|
||||
`{{wget --output-document - https://example.com/file}} | ippeveps`
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Add a command but do not start it if it's the first in a queue:
|
||||
|
||||
`pueue add {{[-s|--stashed]}} -- {{rsync {{[-a|--archive]}} {{[-z|--compress]}} /local/directory /remote/directory}}`
|
||||
`pueue add {{[-s|--stashed]}} -- {{rsync --archive --compress /local/directory /remote/directory}}`
|
||||
|
||||
- Add a command to a group and start it immediately, see `pueue group` to manage groups:
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
|
||||
- Send parameters via POST body with JSON format:
|
||||
|
||||
`x8 {{[-u|--url]}} {{https://example.com/}} {{[-X|--method]}} {{POST}} {{[-b|--body]}} {{'{"x":{%s}}'}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}`
|
||||
`x8 {{[-u|--url]}} {{https://example.com/}} {{[-X|--method]}} {{POST}} {{[-b|--body]}} {{'{"x":{%s\}\}'}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}`
|
||||
|
||||
- Check parameters with a custom template (`%k` for key, `%v` for value):
|
||||
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
- Suspend PulseAudio while running `jackd`:
|
||||
|
||||
`pasuspender -- {{jackd {{[-d|--driver]}} alsa {{[-d|--device]}} hw:0}}`
|
||||
`pasuspender -- {{jackd --driver alsa --device hw:0}}`
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
|
||||
- Drag and select a window on screen to display screenkey:
|
||||
|
||||
`screenkey {{[-p|--position]}} fixed {{[-g|--geometry]}} {{$(slop {{[-n|--nodecorations]}} {{[-f|--format]}} '%g')}}`
|
||||
`screenkey {{[-p|--position]}} fixed {{[-g|--geometry]}} {{$(slop --nodecorations --format '%g')}}`
|
||||
|
||||
Reference in New Issue
Block a user