Bug in the Bourne shell
aeb at turing.UUCP
aeb at turing.UUCP
Sun Jul 22 09:58:14 AEST 1984
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
More information about the Comp.unix.wizards
mailing list