/usr/share/doc/gmt/examples/do_view.sh is in gmt-examples 5.2.1+dfsg-3build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/bash
#
# $Id: do_view.sh 9857 2012-03-13 10:55:26Z fwobbe $
#
# Simple driver to view all examples using ghostview
#
viewer=${1:-gv}
for f in example_*.ps
do
$viewer $f
done
|