]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/miscellany/scripts/make_mailrc.doc
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / docs / historical / mh-6.8.5 / miscellany / scripts / make_mailrc.doc
1 Here is a script that will convert your .mhrc (if you have one
2 in your home directory) into a legal .mailrc. It will correctly
3 handle lines of the form:
4
5 ; normal comment # normal comment
6 ;;;; also a legal comment # also a legal comment
7 single: user1 alias single user1
8 mult: user1, user2, user3 alias mult user1 user2 user3
9
10 semi; user1 alias semi user1
11 semimul; user2, user3 alias seminul user2 user3
12
13 I put a target in my makefile which checks to see if .mhrc is
14 more recent than .mailrc to regenerate it only when needed.
15
16 -- jad --
17 John A Dilley
18
19 ARPA: terrapin@Purdue.EDU
20 UUCP: {ihnp4}! purdue!jad
21 PHONE: (317)494-6311 x2250