| Short |
Long |
Description |
-a |
--at |
Select Object at this numeric index. |
-c |
--content |
Print the Content (default). |
-C |
--columns |
Print the total number of columns. |
-D |
--delimit |
Designate how to handle applying delimits. |
-d |
--depth |
Select Object at this numeric depth. |
-e |
--empty |
Include empty Content when processing. |
-l |
--line |
Print only the Content at the given line. |
-n |
--name |
Select Object with this name. |
-o |
--object |
Print the Object. |
-p |
--pipe |
Print using the special pipe format. |
-O |
--original |
Print with the original quotes and escapes. |
-s |
--select |
Select sub-Content at this index. |
-t |
--total |
Print the total number of lines. |
-T |
--trim |
Trim Object names on select or print. |
-A |
--as |
Designate the supported format to read as. |
All numeric positions (indexes) start at 0 instead of 1.
For example, a file of 17 lines would range from 0 to 16.
When using the --depth option, an order of operations is enforced on the parameters.
When this order of operations is in effect, parameters to the right of a depth parameter are influenced by that depth parameter:
--at- An Object index at the specified depth.
--depth- A new depth within the specified depth, indexed from the root.
--name- An Object name at the specified depth.
The parameter --depth must be in numeric order, but values in between may be skipped.
- ('-d 0 -a 1 -d 2 -a 2' would specify index 1 at depth 0, any index at depth 1, and index 2 at depth 2.)
- ('-d 2 -a 1 -d 0 -a 2' would be invalid because depth 2 is before depth 1.)
The parameter --select selects a Content column.
Specify both --object and the --total parameters to get the total objects.
When both --at and --name parameters are specified (at the same depth), the --at parameter value will be treated as a position relative to the specified --name parameter value.
This program may support parameters, such as --depth or --select, even if not supported by the standard.
This is done to help ensure consistency for scripting.
For parameters like --depth, if the standard doesn't support nested Content, then only a depth of 0 would be valid.
For parameters like --select, if the standard doesn't support multiple Content groups, then only a select of 0 would be valid.
The parameter --trim will remove leading and trailing white spaces when selecting objects or when printing objects.
When specifying both the --object parameter and the --content parameter, the entire Object and Content are printed, including the formatting.
Both the Object and Content printed are already escaped.
Both the Object and Content are separated by a space.
The parameter --delimit accepts the following:
- none
- Do not apply delimits.
- all
- (default) Apply all delimits.
- object
- Apply delimits for Objects.
- A number, zero or greater
- apply delimits for Content at the specified depth.
- A number, zero or greater, followed by a +
- (such as '1+') apply delimits for Content at the specified depth and any greater depth (numerically).
- A number, zero or lesser, followed by a -
- (such as '1-') apply delimits for Content at the specified depth and any lesser depth (numerically).
The --delimit parameter may be specified multiple times to customize the delimit behavior.
The --delimit values none and all, overrule all other delimit values.
The parameters --columns and --select refer to a Content column.
The word "column" is being loosely defined to refer to a specific Content.
This is not to be confused with a depth.
The '--as' parameter supports the following standards with the specified possible case-sensitive values:
- As FSS-0000 (Basic) format: '
0000', 'fss-0000', or 'basic'.
- As FSS-0001 (Extended) format: '
0001', 'fss-0001', or 'extended'.
- As FSS-0002 (Basic List) format: '
0002', 'fss-0002', 'basic list', or 'basic_list'.
- As FSS-0003 (Extended List) format: '
0003', 'fss-0003', or 'extended list', 'extended_list'.
- As FSS-0008 (Embedded List) format: '
0008', 'fss-0008', 'embedded list', or 'embedded_list'.
- As FSS-000E (Payload) format: '
000e', 'fss-000e', or 'payload'.