mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 15:58:42 +00:00
Update cheatsheets
This commit is contained in:
@@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Execute a command with piped arguments coming from another command, a file, etc.
|
||||
> The input is treated as a single block of text and split into separate pieces on spaces, tabs, newlines, and end-of-file.
|
||||
> See also: `parallel`.
|
||||
> More information: <https://www.gnu.org/software/findutils/manual/html_mono/find.html#Invoking-xargs>.
|
||||
|
||||
- Run a command using the input data as arguments:
|
||||
@@ -36,3 +37,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Prompt user for confirmation before executing command (confirm with `y` or `Y`):
|
||||
|
||||
`{{arguments_source}} | xargs {{[-p|--interactive]}} {{command}}`
|
||||
|
||||
- Allow the command to access the terminal for interactive input:
|
||||
|
||||
`{{arguments_source}} | xargs {{[-o|--open-tty]}} {{command}}`
|
||||
|
||||
Reference in New Issue
Block a user