xargs: lint, remove controversial example
This commit is contained in:
@@ -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`
|
|
||||||
|
Reference in New Issue
Block a user