#!/bin/sh PATH=/usr/bin:/bin file=/tmp/viman.$$ trap 'rm -f $file' HUP TERM QUIT INT EXIT man $@ | col -bx > $file vi $file rm -f $file