|
@@ -10,10 +10,14 @@
|
|
|
|
|
|
`{{arguments_null_terminated}} | xargs -0 {{command}}`
|
|
|
|
|
|
-- Delete all files that start with 'M':
|
|
|
+- Insert arguments at chosen position, using '%' as the placeholder marker:
|
|
|
|
|
|
-`find . -name 'M*' | xargs rm`
|
|
|
+`{{arguments}} | xargs -I '%' {{command}} % {{extra_arguments}}`
|
|
|
|
|
|
-- Insert arguments at chosen position, using '%' as the placeholder marker:
|
|
|
+- Use the output of one command as arguments to another command:
|
|
|
|
|
|
-`{{arguments}} | xargs -I % {{command}} % {{extra_arguments}}`
|
|
|
+`{{command1}} | xargs {{command2}}`
|
|
|
+
|
|
|
+- Specific example: delete all files that start with 'M':
|
|
|
+
|
|
|
+`find . -name 'M*' | xargs rm`
|