#!/bin/sh
comm=
opt=

case $# in
1)  
    case $1 in
    1|2|3|4|5|6|7|8|9) man $1 list | col -b | cat -s | \
	xp -i -n xpman -t "xpman: $1" -xrm "*iconName:xpman: $1" -geom 90x40
    exit 0;;
    esac;;
esac

for i
do
  case $i in
  /*) comm="-command $i";;
  *)  opt="$opt $i" ;;
  esac
done
man $opt | col -b | cat -s | \
xp -i -n xpman -t "xpman: $i" -xrm "*iconName:xpman: $i" ${comm} -geom 70x40
