xargs: fix -I SUBSTR behaviour
function old new delta process_stdin_with_replace 165 204 +39 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -61,4 +61,12 @@ testing "xargs -n2" \
|
||||
|
||||
SKIP=
|
||||
|
||||
optional FEATURE_XARGS_SUPPORT_QUOTES
|
||||
testing "xargs -I skips empty lines and leading whitespace" \
|
||||
"xargs -I% echo '[%]'" \
|
||||
"[2]\n[4]\n[6 6 ]\n[7]\n" \
|
||||
"" " \n2\n\n4\n\n 6 6 \n \v \t 7\n\t\n\v\n"
|
||||
|
||||
SKIP=
|
||||
|
||||
exit $FAILCOUNT
|
||||
|
||||
Reference in New Issue
Block a user