1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh # # gv has decided to rename all its -foo options to --foo. # if gv -v 2>/dev/null | grep Usage >/dev/null then m=- else m='' fi gv $m-nosafer $m-swap $m-style $PLAN9/lib/gv.style $m-ad $PLAN9/lib/gv.resource "$@"