[DebianGIS-dev] Bug#490268: $ GMT --help doesn't respect `$PAGER' and uses `more' unconditionally

Ivan Shmakov ivan at theory.asu.ru
Fri Jul 11 05:22:49 UTC 2008


Package: gmt
Version: 4.1.2-1.1

	The $ GMT --help command should respect the value of the PAGER
	environment variable, instead of using `more' unconditionally.

$ nl -ba /usr/bin/GMT 
...
    42	
    43	if [ $# = 0 ] || [ $1 = "help" ] || [ "x$1" = "x-help" ] || [ "x$1" = "x--help" ] || [ x$1 = "x-h" ]; then
    44		cat << EOF | more >&2
    45	
...
$ 





More information about the Pkg-grass-devel mailing list