Annotation of 43BSD/contrib/mh/miscellany/scripts/make_mailrc.sh, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: #
                      3: MHRC=$HOME/.mhrc
                      4: MAILRC=$HOME/.mailrc
                      5: 
                      6: if [ ! -f $MHRC ]
                      7:     then
                      8:        echo You do not have a .mhrc file.  $MAILRC not clobbered.
                      9:        exit 1
                     10:     else
                     11:        echo Creating $MAILRC from $MHRC ...
                     12:     fi
                     13: 
                     14: echo "set ask append dot metoo hold autoprint crt=24
                     15: # This file automatically generated from $MHRC
                     16: #      Created  by  ${USER}@`hostname`  `date`
                     17: " > $MAILRC
                     18: 
                     19: sed    -e 's/^;/# /'                           \
                     20:        -e 's/[<>,:;]//g'                       \
                     21:        -e 's/^[a-zA-Z]/alias   &/'             \
                     22:            < $MHRC >> $MAILRC

unix.superglobalmegacorp.com

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