mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
xargs: insert piped arguments at random position
This commit is contained in:
parent
dd9947ce8a
commit
caa75cd76e
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
|
||||
`{{arguments_null_terminated}} | xargs -0 {{command}}`
|
||||
|
||||
- Inserting arguments at chosen position
|
||||
|
||||
`{{arguments}} | xargs -I piped_arguments {{command}} piped_arguments {{rest_of_arguments}}
|
||||
|
||||
- Example: list unneeded packages with deborphan and remove them with apt-get:
|
||||
|
||||
`sudo deborphan | xargs sudo apt-get remove`
|
||||
|
|
Loading…
Add table
Reference in a new issue