4.4BSD/usr/src/contrib/mh-6.8/papers/realwork/diagram8.tex

Compare this file to the similar file:
Show the results in this format:

% diagram 8

\verbatim
: 'append - stupid append editor for MH - /jlr'
case $# in
   1|2) case $# in
            1) F=$1; echo -n "Append file: " 1>&2; read A ;;
            2) F=$2; A=$1 ;;
        esac
        cat $A < /dev/null >> $F ;;
     *) echo "append: arg count" 1>&2 ; exit 1 ;;
esac
exit
?endverbatim