Mercurial > hg > Applications > mh
view miscellany/netnews/bin/mh @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children |
line wrap: on
line source
#! /bin/sh # A small shell script to run the MH-system. # Includes the mh command directory in the PATH # If a (mh) command is given this is run instead. # export PATH; PATH=/usr/new/mh:$PATH # the mh-system commands if [ $# = 0 ] then export PS1; PS1="MH> " # an informative prompt used by sh exec $SHELL # use the default shell else exec sh -c "$*" # run through shell fi