gts_get - Man Page

manual page for gts_get

Description

NAME    gts_get

DESCRIPTION

Get values of some keys from a GTS file. It is similar to gts_ls, but fails returning an error code when an error occurs (e.g. key not found).

USAGE

gts_get [options] file file ...

OPTIONS

-f

Force. Force the execution not to fail on error.

-p key[:{s|d|i}],key[:{s|d|i}],...      

Declaration of keys to print. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be requested. Default type is string.

-F format      

C style format for floating-point values.

-P key[:{s|d|i}],key[:{s|d|i}],...      

As -p adding the declared keys to the default list.

-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...        

Where clause. Messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be specified. Default type is string. In the value you can also use the forward-slash character '/' to specify an OR condition (i.e. a logical disjunction) Note: only one -w clause is allowed.

-n namespace    

All the keys belonging to the given namespace are printed.

-s key[:{s|d|i}]=value,key[:{s|d|i}]=value,...  

Key/values to set. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be defined. By default the native type is set.

-V

Version.

-W width        

Minimum width of each column in output. Default is 10.

-g

Copy GTS header.

-7

Does not fail when the message has wrong length.

NAME    gts_get

DESCRIPTION

Get values of some keys from a GTS file. It is similar to gts_ls, but fails returning an error code when an error occurs (e.g. key not found).

USAGE

gts_get [options] file file ...

OPTIONS

-f

Force. Force the execution not to fail on error.

-p key[:{s|d|i}],key[:{s|d|i}],...      

Declaration of keys to print. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be requested. Default type is string.

-F format      

C style format for floating-point values.

-P key[:{s|d|i}],key[:{s|d|i}],...      

As -p adding the declared keys to the default list.

-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...        

Where clause. Messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be specified. Default type is string. In the value you can also use the forward-slash character '/' to specify an OR condition (i.e. a logical disjunction) Note: only one -w clause is allowed.

-n namespace    

All the keys belonging to the given namespace are printed.

-s key[:{s|d|i}]=value,key[:{s|d|i}]=value,...  

Key/values to set. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be defined. By default the native type is set.

-V

Version.

-W width        

Minimum width of each column in output. Default is 10.

-g

Copy GTS header.

-7

Does not fail when the message has wrong length.

Info

September 2024