GTS_GET(1)
πΈ NAME πΈ
gts_get β it's the manual page for gts_get, bestie. That's the whole vibe of this section, no notes. π
β¨ DESCRIPTION β¨
Okay so pulling up the User Commands section of the manual (that's manual page GTS_GET(1), in case the header didn't tip you off π) β here's what this lil tool actually does.
π NAME
gts_get
π DESCRIPTION
Get values of some keys from a GTS file. π
It's giving very much gts_ls's cousin, except this one actually has consequences: it fails and returns an error code when an error occurs, like when a key isn't found. So if you want the diva that throws hands instead of quietly shrugging, this is her. π
π USAGE
gts_get [options] file file ...
Yeah. One or more files. Go off. β¨
ποΈ OPTIONS
-fβ Force. Forces the execution to not fail when there's an error. Chill mode: activated. π§-p key[:{s|d|i}],key[:{s|d|i}],...β Declares which keys to print. For each key you can ask for a string (key:s), a double (key:d) or an integer (key:i). If you don't say, the default type is string. π-F formatβ A C-style format for floating-point values. Old money formatting, but make it cute. π-P key[:{s|d|i}],key[:{s|d|i}],...β Same as-p, but this one adds the declared keys to the default list instead of replacing the vibe. π-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...β The where clause, aka the bouncer at the door. Messages only get processed if they match all the key/value constraints. A valid constraint looks likekey=valueorkey!=value. For each key you can specify a string (key:s), a double (key:d) or an integer (key:i) type β default type is string. And in the value you can also use the forward-slash character/to specify an OR condition (that's a logical disjunction, iykyk). Note: only one-wclause is allowed, so don't get greedy. π-n namespaceβ Prints all the keys belonging to the given namespace. Whole squad, one namespace. π-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β Print version. Simple. Iconic. π«Ά-W widthβ Minimum width of each column in the output. Default is10. π-gβ Copy GTS header. π-7β Does not fail when the message has wrong length. The forgiving one. πΈ
π€¨ AND THEN... IT SAYS IT AGAIN π€¨
Not me reading this page and finding the entire thing printed a second time, word for word. No cap. The manpage really said "say it twice, they'll remember it." So here's the encore, bestie β same sections, same order, nothing skipped: π
π 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}],...β Same as-pbut adds 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 typekey=valueorkey!=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-wclause 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β Print version. π«Ά-W widthβ Minimum width of each column in output. Default is10. π-gβ Copy GTS header. π-7β Does not fail when the message has wrong length. πΈ
Real talk though: since this page never spells out a SEE ALSO, exit statuses beyond "it errors out sometimes", environment variables, authors, copyright or license, I'm not gonna invent them for you. Faithful to the source or nothing, periodt. π
That's the whole page, start to finish. π¦
Bye bestie! This was gts_get from October 2026, page GTS_GET(1) β the User Commands manual. Slay, stay hydrated, and always read your exit codes. π
β¨π
π¦ where this page comes from
- fedora 44: eccodes 2.50.0-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms