public interface CatOptions extends OptionSet<CatOption>
cat
command.
It is recommended to use Cat.Options
to specify a valid
combination of options.
The options for the cat command are:
-b | --numberNonBlankLines | Number the non-blank output lines, starting at 1. | |||
-n | --numberLines | Number the output lines, starting at 1. | |||
-s | --squeezeEmptyLines | Squeeze multiple adjacent empty lines, causing the output to be single spaced. |
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 |
CatOptions.Default
Default implementation for a modifiable option set.
|
Modifier and Type | Field and Description |
---|---|
static ValueConverter<CatOptions> |
CONVERTER
Value converter for
CatOptions based on an OptionSetConverters.OptionSetConverter . |
static CatOptions |
EMPTY
Constant for an empty option set.
|
asSet, isSet, iterator, optionType, size, useAcronymFor
forEach, spliterator
static final CatOptions EMPTY
static final ValueConverter<CatOptions> CONVERTER
CatOptions
based on an OptionSetConverters.OptionSetConverter
.Copyright © 2024. All rights reserved.