Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!boulder!sunybcs!rutgers!ucla-cs!zen!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP (UNIX-to-UNIX Copy) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709111406.AA01147@tccc0.TFS> Date: Fri, 11-Sep-87 10:06:51 EDT Article-I.D.: tccc0.8709111406.AA01147 Posted: Fri Sep 11 10:06:51 1987 Date-Received: Sat, 12-Sep-87 18:11:01 EDT Sender: uucp@ucbvax.BERKELEY.EDU Lines: 24 Path: teknek!dual!ptsfa!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!hpfcdc!hpfcls!neutron From: neutron@hpfcls.HP.COM (Jack Applin) Newsgroups: comp.mail.elm Subject: backquote check in mkhdrs.c Message-ID: <7390001@hpfcls.HP.COM> Date: 8 Sep 87 23:21:45 GMT Organization: Hewlett-Packard SSO Lines: 15 In mkhdrs.c, there is code to recognize backquoting in .elmheaders. from mkhdrs.c (in add_mailheaders): > else if (occurances_of(BACKQUOTE, buffer) == 2) > expand_backquote(buffer, filedesc); I had a line in .elmheaders like: Number: `cd; n=0\`cat -s .num\`; n=\`expr $n + 1\`; echo $n >.num; echo $n` which wasn't recognized because it had more than two backquotes. It would be better to check for >=2 instead of for exactly two backquotes. -Jack Applin