public interface XargsOptions extends OptionSet<XargsOption>
xargs
command.
It is recommended to use Xargs.Options
to specify a valid
combination of options.
The options for the xargs command are:
-z | --delimiter0 | Input items are terminated by a null character instead of by
whitespace, and the quotes and backslash are not special (every
character is taken literally). Disables the end of file string,
which is treated like any other argument. Useful when input items
might contain white space, quote marks, or backslashes. The find
--print0 option produces input suitable for this mode.
(This option is ignored if an explicit delimiter operand is specified). | |||
-x | --exactArgs | Terminate immediately if maxArgs is specified but the found
number of variable items is less than maxArgs .
(This option is ignored if no | |||
-r | --noRunIfEmpty | If the standard input does not contain any nonblanks, do not run the command. Normally, the command is run once even if there is no input. | |||
-t | --verbose | Print the command line on the standard error output before executing it. |
This interface serves as an alias for the extended interface to simplify the command signature methods by avoiding generic parameters.
Modifier and Type | Interface and Description |
---|---|
static class |
XargsOptions.Default
Default implementation for a modifiable option set.
|
Modifier and Type | Field and Description |
---|---|
static ValueConverter<XargsOptions> |
CONVERTER
Value converter for
XargsOptions based on an OptionSetConverters.OptionSetConverter . |
static XargsOptions |
EMPTY
Constant for an empty option set.
|
asSet, isSet, iterator, optionType, size, useAcronymFor
forEach, spliterator
static final XargsOptions EMPTY
static final ValueConverter<XargsOptions> CONVERTER
XargsOptions
based on an OptionSetConverters.OptionSetConverter
.Copyright © 2024. All rights reserved.