mirror of https://github.com/CrimsonTome/tldr.git
xargs: lint, remove controversial example
parent
85da9a1c03
commit
f708f359eb
|
@ -10,10 +10,6 @@
|
||||||
|
|
||||||
`{{arguments_null_terminated}} | xargs -0 {{command}}`
|
`{{arguments_null_terminated}} | xargs -0 {{command}}`
|
||||||
|
|
||||||
- delete all files that start with 'M'
|
- Delete all files that start with 'M':
|
||||||
|
|
||||||
`ls M* | xargs rm`
|
`ls M* | xargs rm`
|
||||||
|
|
||||||
- assign incoming arguments to a variable so that they may be used in the middle of a command
|
|
||||||
|
|
||||||
`ls M* | xargs -J % cp % ~/Desktop`
|
|
||||||
|
|
Loading…
Reference in New Issue