diff options
author | jmallett <jmallett@FreeBSD.org> | 2005-12-30 23:25:41 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2005-12-30 23:25:41 +0000 |
commit | 1ac616cdd4d9854e7304dc1af29769327ff6bb0c (patch) | |
tree | 42559a95cb42730437e667bb488b83db67b8542d /usr.bin/xargs/xargs.1 | |
parent | 7618c13881f3aa701a1e45a69ca08b919426dba9 (diff) | |
download | FreeBSD-src-1ac616cdd4d9854e7304dc1af29769327ff6bb0c.zip FreeBSD-src-1ac616cdd4d9854e7304dc1af29769327ff6bb0c.tar.gz |
Add a FreeBSD-specific -S flag which controls the maximum size of an argument
having replacements done in it via -I.
Diffstat (limited to 'usr.bin/xargs/xargs.1')
-rw-r--r-- | usr.bin/xargs/xargs.1 | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/usr.bin/xargs/xargs.1 b/usr.bin/xargs/xargs.1 index 928a112..b8fe2c8 100644 --- a/usr.bin/xargs/xargs.1 +++ b/usr.bin/xargs/xargs.1 @@ -50,6 +50,7 @@ .Oo .Fl I Ar replstr .Op Fl R Ar replacements +.Op Fl S Ar replsize .Oc .Op Fl J Ar replstr .Op Fl L Ar number @@ -114,13 +115,20 @@ flag is specified) arguments to .Ar utility with the entire line of input. The resulting arguments, after replacement is done, will not be allowed to grow -beyond 255 bytes; this is implemented by concatenating as much of the argument +beyond +.Ar replsize +(or 255 if no +.Fl S +flag is specified) +bytes; this is implemented by concatenating as much of the argument containing .Ar replstr as possible, to the constructed arguments to .Ar utility , -up to 255 bytes. -The 255 byte limit does not apply to arguments to +up to +.Ar replsize +bytes. +The size limit does not apply to arguments to .Ar utility which do not contain .Ar replstr , @@ -220,6 +228,13 @@ will do replacement in. If .Ar replacements is negative, the number of arguments in which to replace is unbounded. +.It Fl S Ar replsize +Specify the amount of space (in bytes) that +.Fl I +can use for replacements. +The default for +.Ar replsize +is 255. .It Fl s Ar size Set the maximum number of bytes for the command line length provided to .Ar utility . @@ -293,7 +308,7 @@ utility is expected to be .St -p1003.2 compliant. The -.Fl J , o , P +.Fl J , o , P, S and .Fl R options are non-standard |