]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/miscellany/netnews/bin/mh
ap: Fix write past end of addrs[] array.
[nmh] / docs / historical / mh-6.8.5 / miscellany / netnews / bin / mh
1 #! /bin/sh
2 # A small shell script to run the MH-system.
3 # Includes the mh command directory in the PATH
4 # If a (mh) command is given this is run instead.
5 #
6 export PATH; PATH=/usr/new/mh:$PATH # the mh-system commands
7
8 if [ $# = 0 ]
9 then
10 export PS1; PS1="MH> " # an informative prompt used by sh
11 exec $SHELL # use the default shell
12 else
13 exec sh -c "$*" # run through shell
14 fi