ports/graphics/bsd-plotutils/files/patch-plot_plot.sh
Keith White 8511d4fa57 graphics/bsd-plotutils: Fix manual page
The man page for plot(1) indicates that a space is required between "-T"
and "terminal", this is not the case as it stands.  No space is allowed.
i.e.: "-Tdumb" is correct "-T dumb" is not.

PR:		281715
Approved by:	maintainer timeout (8+ months)
2025-07-11 19:14:20 +02:00

12 lines
236 B
Bash

--- plot/plot.sh.orig 2019-02-09 03:42:21 UTC
+++ plot/plot.sh
@@ -3,6 +3,8 @@ case $1 in
PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/libexec:/usr/libexec
case $1 in
+-T) t=-T$2
+ shift; shift;;
-T*) t=$1
shift ;;
*) t=-T$TERM