From eb1f864263baf2dfc9d8267860b70a1a0e29d8e5 Mon Sep 17 00:00:00 2001 From: Andrei Cioara Date: Mon, 16 May 2016 07:47:07 +0100 Subject: [PATCH] shortened xargs (#878) rest_of_arguments was misleading --- pages/common/xargs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/xargs.md b/pages/common/xargs.md index c8e050682..e22d2ad6b 100644 --- a/pages/common/xargs.md +++ b/pages/common/xargs.md @@ -14,6 +14,6 @@ `find . -name 'M*' | xargs rm` -- Insert arguments at chosen position: +- Insert arguments at chosen position, using '%' as the placeholder marker: -`{{arguments}} | xargs -I piped_arguments {{command}} piped_arguments {{rest_of_arguments}}` +`{{arguments}} | xargs -I % {{command}} % {{extra_arguments}}`