Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site turing.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!mcvax!turing!aeb From: aeb@turing.UUCP Newsgroups: net.unix-wizards Subject: Re: Bug in the Bourne shell Message-ID: <204@turing.UUCP> Date: Sat, 21-Jul-84 19:58:14 EDT Article-I.D.: turing.204 Posted: Sat Jul 21 19:58:14 1984 Date-Received: Fri, 27-Jul-84 06:20:12 EDT References: <1671@sri-arpa.UUCP> Organization: CWI, Amsterdam Lines: 17 Apparently-To: rnews@mcvax.LOCAL About a year ago I posted the following fix: I have the strong impression that the following fixes the $@ bug mentioned. $ diff macro.c $S/macro.c 117,121c117,118 < THEN LOOP IF !*v ANDF *id=='@' < THEN pushstak(QUOTE); < ELSE WHILE c = *v++ < DO pushstak(c|quote); OD < FI --- > THEN LOOP WHILE c = *v++ > DO pushstak(c|quote); OD -- Andries Brouwer -- CWI, Amsterdam -- {philabs,decvax}!mcvax!aeb