public interface UniqOptions extends OptionSet<UniqOption>
uniqcommand. It is recommended to use
Uniq.Optionsto specify a valid combination of options.
The options for the uniq command are:
|Precedes each output line with a count of the number of times the line occurred in the input.|
|Suppresses the writing of lines that are not repeated in the input.|
|Suppresses the writing of lines that are repeated in the input.|
|Suppresses repeated lines globally, that is, if lines are non-adjacent. This option guarantees unique output lines even if the input lines are not sorted.|
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|
Default implementation for a modifiable option set.
|Modifier and Type||Field and Description|
Value converter for
Constant for an empty option set.
asSet, isSet, iterator, optionType, size, useAcronymFor
static final UniqOptions EMPTY
static final ValueConverter<UniqOptions> CONVERTER
UniqOptionsbased on an
Copyright © 2022. All rights reserved.