DOKK / manpages / debian 10 / gmt-common / gmt5syntax.1gmt.en
GMT5SYNTAX(1gmt) GMT GMT5SYNTAX(1gmt)

gmt5syntax - Convert old GMT script to use new 'gmt <module>' syntax

gmt5syntax old_script > new_script

gmt5syntax is a perl script that converts old-style GMT commands in, e.g., shell scripts, to the new gmt <module>-syntax. This utility is located in the tools subdirectory of the data directory. gmt --show-datadir will show the path to the latter.

gmt

2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe

May 21, 2019 5.4.5