Mercurial > hg > Applications > mh
view miscellany/mtrenv/bin/MH @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children |
line wrap: on
line source
: run this script through /bin/sh prf=/tmp/prf$$ ctx=/tmp/ctx$$ trap "rm -f $prf $ctx" 0 1 2 3 13 15 rm -f $prf echo "MH-Sequences:" > $prf cat ${MH-$HOME/.mh_profile} >> $prf MH="$prf" ; export MH rm -f $ctx cp ${MHCONTEXT-`mhpath +`/context} $ctx MHCONTEXT="$ctx" ; export MHCONTEXT eval "$@"