ftp.nice.ch/pub/next/unix/mail/mh.6.7.s.tar.gz#/mh/miscellany/scripts/make_mailrc.sh

This is make_mailrc.sh in view mode; [Download] [Up]

#!/bin/sh
#
MHRC=$HOME/.mhrc
MAILRC=$HOME/.mailrc

if [ ! -f $MHRC ]
    then
	echo You do not have a .mhrc file.  $MAILRC not clobbered.
	exit 1
    else
	echo Creating $MAILRC from $MHRC ...
    fi

echo "set ask append dot metoo hold autoprint crt=24
# This file automatically generated from $MHRC
#	Created  by  ${USER}@`hostname`  `date`
" > $MAILRC

sed	-e 's/^;/# /'				\
	-e 's/[<>,:;]//g'			\
	-e 's/^[a-zA-Z]/alias	&/'		\
	    < $MHRC >> $MAILRC

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.