diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-01-05 16:38:47 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-01-05 16:40:22 +0100 |
commit | 41fc1218cb10c3430da74c18c86df1791436be6a (patch) | |
tree | 80341e2669c4f6bf26277119c3524f5871c864d5 | |
parent | 792dda71c33824ac9a8d94ac578edc9aa23da0d1 (diff) | |
download | findutils-41fc1218cb10c3430da74c18c86df1791436be6a.tar.gz |
xargs: mention in --help that -I splits input at newlines
* xargs/xargs.c (usage): Amend the -I description to mention that
the input is split at newlines.
* NEWS: Mention the change.
Fixes https://savannah.gnu.org/bugs/?58149
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | xargs/xargs.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -30,6 +30,9 @@ including the call arguments and the exit code of the launched process. #58205: find.1: clarify double dash '--' option +#58149: 'xargs --help' now mentions that --replace (-I, -i) splits the input + at newline characters. + #57025: doc: enhance description of tests accepting numeric arguments in find.1 #54730: Add additional valuable example of find -quit diff --git a/xargs/xargs.c b/xargs/xargs.c index 0dd45af1..64066d38 100644 --- a/xargs/xargs.c +++ b/xargs/xargs.c @@ -1683,8 +1683,8 @@ usage (int status) " otherwise, there is no end-of-file string\n")); HTL (_(" -I R same as --replace=R\n")); HTL (_(" -i, --replace[=R] replace R in INITIAL-ARGS with names read\n" - " from standard input; if R is unspecified,\n" - " assume {}\n")); + " from standard input, split at newlines;\n" + " if R is unspecified, assume {}\n")); HTL (_(" -L, --max-lines=MAX-LINES use at most MAX-LINES non-blank input lines per\n" " command line\n")); HTL (_(" -l[MAX-LINES] similar to -L but defaults to at most one non-\n" |