grdtrack(1gmt) on Linux
The text 4ec7afd5e093, as Debian 5.0 (Lenny) shipped it.
Sampling of a 2-D grid file along 1-D trackline (a sequence of x,y points)
Flags it lists
-
-: -
-G -
-H -
-L -
-M -
-Q -
-R -
-S -
-V -
-Z -
-bi -
-bo -
-f