gnb@melba.bby.oz.au (Gregory Bond) (08/24/89)
A fix to the annoying "!^: event not found" bug. Easy, once you work out where to look... *** lib/history.c.orig Thu Aug 24 12:04:54 1989 --- lib/history.c Thu Aug 24 12:05:48 1989 *************** *** 758,768 **** goto hack_pound_sign; /* If it is followed by something that starts a word specifier, then !! is implied as the event specifier. */ ! if (member (cc, ":$*%")) { char fake_s[2]; int fake_i = 0; i++; fake_s[0] = fake_s[1] = history_expansion_char; fake_s[2] = '\0'; --- 758,768 ---- goto hack_pound_sign; /* If it is followed by something that starts a word specifier, then !! is implied as the event specifier. */ ! if (member (cc, ":$*%^")) { char fake_s[2]; int fake_i = 0; i++; fake_s[0] = fake_s[1] = history_expansion_char; fake_s[2] = '\0'; -- Gregory Bond, Burdett Buckeridge & Young Ltd, Melbourne, Australia Internet: gnb@melba.bby.oz.au non-MX: gnb%melba.bby.oz@uunet.uu.net Uucp: {uunet,pyramid,ubc-cs,ukc,mcvax,prlb2,nttlab...}!munnari!melba.bby.oz!gnb