added $ to the list of history chars to keep
authorChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Mon, 16 Sep 1991 09:00:30 +0000 (01:00 -0800)
committerChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Mon, 16 Sep 1991 09:00:30 +0000 (01:00 -0800)
SCCS-vsn: bin/csh/lex.c 5.23

usr/src/bin/csh/lex.c

index 855af65..9d62789 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)lex.c      5.22 (Berkeley) %G%";
+static char sccsid[] = "@(#)lex.c      5.23 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -1091,7 +1091,7 @@ gethent(sc)
            }
            np = lhsb;
            event = 0;
            }
            np = lhsb;
            event = 0;
-           while (!cmap(c, _ESC | _META | _Q | _Q1) && !any("{}:", c)) {
+           while (!cmap(c, _ESC | _META | _Q | _Q1) && !any("${}:", c)) {
                if (event != -1 && Isdigit(c))
                    event = event * 10 + c - '0';
                else
                if (event != -1 && Isdigit(c))
                    event = event * 10 + c - '0';
                else