|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T o
Length: 848 (0x350)
Types: TextFile
Names: »ontrip.sh«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z«
└─⟦c75e36ecb⟧
└─⟦this⟧ »mh-6.7/miscellany/rcvtrip/ontrip.sh«
: run this script through /bin/sh
db=rcvtrip draftf=drafts field=advised form=tripcomps pgm=bin/rcvtrip
if [ -x $HOME/$pgm ];
then
echo "This is ontrip, for MH.6"
else
echo "Script $pgm is not present in your HOME directory" 1>&2
exit 1
fi
file=`mhpath +`/$form
if [ -f $file ];
then
if [ "x$EDITOR" = x ];
then
echo "Please edit the reply template:"
echo "You are now in the editor 'ex'"
ex $file
else
$EDITOR $file
fi
else
echo "Reply template $form is not present in your MH directory" 1>&2
exit 1
fi
folder=`mhpath +$db`
if [ -d $folder ];
then
echo "Resetting database +$db"
rmm +$db all > /dev/null 1>&2
else
folder +$db
fi
touch $folder/1
echo "Now add the line
addr $USER pipe R \"$pgm \\\"\$(reply-to)\\\"\"
to the end of the .maildelivery file in your HOME directory"
exit 0