#!/bin/sh OUT=`basename $0 | sed -e 's/-/./'` cat >>$OUT <&1 | tee -a $OUT