]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/miscellany/netnews/bin/rnmail
test/inc/test-eom-align: Fix tests; they've never worked.
[nmh] / docs / historical / mh-6.8.5 / miscellany / netnews / bin / rnmail
1 #! /bin/sh
2
3 export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myse
4 lf to sh."; sh $0; kill $$)
5
6 cat=/bin/cat
7 echo=/bin/echo
8 test=/bin/test
9 defeditor=prompter
10
11 draftfile=`mhpath +`/rndraft
12 dotdir=${DOTDIR-${HOME-$LOGDIR}}
13
14 $cat $1 > $draftfile
15 if $test -f $dotdir/.signature; then
16 $echo "--" >> $draftfile
17 $cat $dotdir/.signature >> $draftfile
18 fi
19 exec comp -use -editor ${VISUAL-${EDITOR-$defeditor}} -file $draftfile