From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 10 Jun 1999 09:25:01 -0700 From: Tom Duff td@pixar.com Subject: [9fans] minor glitch with free carets Topicbox-Message-UUID: 97fe7bb8-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19990610162501.TnGwQpYgFkeyfrGQlrwlwAHdO704Euu8U8646ptYDbE@z> > BTW, the bug is on line 318 of /sys/src/cmd/rc/lex.c: > > if(t->type!=WORD) lastword=0; > > I think that changing this to > > lastword=0; > > fixes it (I don't have a plan 9 machine, so I can't test it.) Bah! This doesn't work. (Rob tested it for me, thanks!) There's no easy fix. Put a note in the BUGS section. -- Tom Duff. If UNIX is the great novel, Perl is the Cliff's Notes.