1GMTGET(1) GMT GMTGET(1)
2
3
4
6 gmtget - Get individual GMT default parameters
7
9 gmtget [ -Gdefaultsfile ] [ -L ] PARAMETER1 [ PARAMETER2 PARAMETER3
10 ... ]
11
12 Note: No space is allowed between the option flag and the associated
13 arguments.
14
16 gmtget will list the value of one or more GMT default parameters.
17
19 PARAMETER
20 Provide one or several parameters of interest. The current value
21 of those parameters will be written to stdout. For a complete
22 listing of available parameters and their meaning, see the
23 gmt.conf man page.
24
26 -Gdefaultsfile
27 Name of specific gmt.conf file to read [Default looks first in
28 current directory, then in your home directory, then in ~/.gmt
29 and finally in the system defaults].
30
31 -L Return the values of the parameters on separate lines [Default
32 returns all selected parameter values on one line separated by
33 spaces]
34
36 To list the value of the parameter PS_COMMENTS:
37
38 gmt get PS_COMMENTS
39
40 To get both the values of the parameter MAP_GRID_CROSS_SIZE_PRIMARY and
41 MAP_GRID_CROSS_SIZE_SECONDARY on one line, try
42
43 gmt get MAP_GRID_CROSS_SIZE_PRIMARY MAP_GRID_CROSS_SIZE_SECONDARY
44
46 gmt, gmt.conf, gmtdefaults, gmtset
47
49 2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
50
51
52
53
545.4.5 Feb 24, 2019 GMTGET(1)