File:  [CSRG BSD Unix] / 43BSDReno / contrib / mh / miscellany / netnews / bin / rnmail
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

#! /bin/sh

export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myse
lf to sh."; sh $0; kill $$)

cat=/bin/cat
echo=/bin/echo
test=/bin/test
defeditor=prompter

draftfile=`mhpath +`/rndraft
dotdir=${DOTDIR-${HOME-$LOGDIR}}

$cat $1 > $draftfile
if $test -f $dotdir/.signature; then
	$echo "--" >> $draftfile
	$cat $dotdir/.signature >> $draftfile
fi
exec comp -use -editor ${VISUAL-${EDITOR-$defeditor}} -file $draftfile

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.