aboutsummaryrefslogtreecommitdiff
path: root/bin/psv
blob: 1904d87d8722f701f8380f3a4474c728a5ce2b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# 
# gv has decided to rename all its -foo options to --foo.
# 
if gv -v 2>/dev/null | grep Usage >/dev/null
then
	gv --nosafer --swap --style=$PLAN9/lib/gv.style --ad=$PLAN9/lib/gv.resource "$@"
else
	gv -nosafer -swap -style $PLAN9/lib/gv.style -ad $PLAN9/lib/gv.resource "$@"
fi