gts_compare - Man Page

manual page for gts_compare

Description

NAME    gts_compare

DESCRIPTION

Compare GTS messages contained in two files. If some differences are found it fails returning an error code. Default behaviour: bit-by-bit compare, same order in files.

USAGE

gts_compare [options] file file

OPTIONS

-b key,key,...  

All the keys in this list are skipped in the comparison. Bit-by-bit compare on.

-d

Write different messages on files

-c key[:i|d|s|n],key[:i|d|s|n],...      

Only the listed keys or namespaces (:n) are compared. The optional letter after the colon is used to force the type in the comparison: i->integer, d->float, s->string, n->namespace. See -a option. Incompatible with -H option.

-a      -c option modifier. The keys listed with the option -c will be added to the list of keys compared without -c.

-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.

-f

Forcefully compare, do not stop after first difference.

-V

Version.

-7

Does not fail when the message has wrong length.

-v

Verbose.

NAME    gts_compare

DESCRIPTION

Compare GTS messages contained in two files. If some differences are found it fails returning an error code. Default behaviour: bit-by-bit compare, same order in files.

USAGE

gts_compare [options] file file

OPTIONS

-b key,key,...  

All the keys in this list are skipped in the comparison. Bit-by-bit compare on.

-d

Write different messages on files

-c key[:i|d|s|n],key[:i|d|s|n],...      

Only the listed keys or namespaces (:n) are compared. The optional letter after the colon is used to force the type in the comparison: i->integer, d->float, s->string, n->namespace. See -a option. Incompatible with -H option.

-a      -c option modifier. The keys listed with the option -c will be added to the list of keys compared without -c.

-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.

-f

Forcefully compare, do not stop after first difference.

-V

Version.

-7

Does not fail when the message has wrong length.

-v

Verbose.

Info

September 2024