1GTS_GET(1) User Commands GTS_GET(1)
2
3
4
6 gts_get - manual page for gts_get
7
9 NAME gts_get
10
11 DESCRIPTION
12
13 Get values of some keys from a GTS file. It is similar to
14 gts_ls, but fails returning an error code when an error occurs
15 (e.g. key not found).
16
17 USAGE
18
19 gts_get [options] file file ...
20
21 OPTIONS
22
23 -f Force. Force the execution not to fail on error.
24
25 -p key[:{s|d|i}],key[:{s|d|i}],...
26
27 Declaration of keys to print. For each key a string (key:s), a
28 double (key:d) or an integer (key:i) type can be requested. De‐
29 fault type is string.
30
31 -F format
32
33 C style format for floating-point values.
34
35 -P key[:{s|d|i}],key[:{s|d|i}],...
36
37 As -p adding the declared keys to the default list.
38
39 -w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...
40
41 Where clause. Messages are processed only if they match all the
42 key/value constraints. A valid constraint is of type key=value
43 or key!=value. For each key a string (key:s), a double (key:d)
44 or an integer (key:i) type can be specified. Default type is
45 string. In the value you can also use the forward-slash charac‐
46 ter '/' to specify an OR condition (i.e. a logical disjunction)
47 Note: only one -w clause is allowed.
48
49 -n namespace
50
51 All the keys belonging to the given namespace are printed.
52
53 -s key[:{s|d|i}]=value,key[:{s|d|i}]=value,...
54
55 Key/values to set. For each key a string (key:s), a double
56 (key:d) or an integer (key:i) type can be defined. By default
57 the native type is set.
58
59 -V Version.
60
61 -W width
62
63 Minimum width of each column in output. Default is 10.
64
65 -g Copy GTS header.
66
67 -7 Does not fail when the message has wrong length
68
69 NAME gts_get
70
71 DESCRIPTION
72
73 Get values of some keys from a GTS file. It is similar to
74 gts_ls, but fails returning an error code when an error occurs
75 (e.g. key not found).
76
77 USAGE
78
79 gts_get [options] file file ...
80
81 OPTIONS
82
83 -f Force. Force the execution not to fail on error.
84
85 -p key[:{s|d|i}],key[:{s|d|i}],...
86
87 Declaration of keys to print. For each key a string (key:s), a
88 double (key:d) or an integer (key:i) type can be requested. De‐
89 fault type is string.
90
91 -F format
92
93 C style format for floating-point values.
94
95 -P key[:{s|d|i}],key[:{s|d|i}],...
96
97 As -p adding the declared keys to the default list.
98
99 -w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...
100
101 Where clause. Messages are processed only if they match all the
102 key/value constraints. A valid constraint is of type key=value
103 or key!=value. For each key a string (key:s), a double (key:d)
104 or an integer (key:i) type can be specified. Default type is
105 string. In the value you can also use the forward-slash charac‐
106 ter '/' to specify an OR condition (i.e. a logical disjunction)
107 Note: only one -w clause is allowed.
108
109 -n namespace
110
111 All the keys belonging to the given namespace are printed.
112
113 -s key[:{s|d|i}]=value,key[:{s|d|i}]=value,...
114
115 Key/values to set. For each key a string (key:s), a double
116 (key:d) or an integer (key:i) type can be defined. By default
117 the native type is set.
118
119 -V Version.
120
121 -W width
122
123 Minimum width of each column in output. Default is 10.
124
125 -g Copy GTS header.
126
127 -7 Does not fail when the message has wrong length
128
129
130
131gts_get November 2023 GTS_GET(1)