added : to the stop character set
authorKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Sat, 24 Jan 1981 09:05:17 +0000 (01:05 -0800)
committerKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Sat, 24 Jan 1981 09:05:17 +0000 (01:05 -0800)
SCCS-vsn: usr.bin/mail/lex.c 1.13

usr/src/usr.bin/mail/lex.c

index d9b9c5d..ad54618 100644 (file)
@@ -8,7 +8,7 @@
  * Lexical processing of commands.
  */
 
  * Lexical processing of commands.
  */
 
-static char *SccsId = "@(#)lex.c       1.12 %G%";
+static char *SccsId = "@(#)lex.c       1.13 %G%";
 
 /*
  * Set up editing on the given file name.
 
 /*
  * Set up editing on the given file name.
@@ -224,7 +224,7 @@ execute(linebuf, contxt)
                return(0);
        }
        cp2 = word;
                return(0);
        }
        cp2 = word;
-       while (*cp && !any(*cp, " \t0123456789$^./-+*'\""))
+       while (*cp && !any(*cp, " \t0123456789$^.:/-+*'\""))
                *cp2++ = *cp++;
        *cp2 = '\0';
 
                *cp2++ = *cp++;
        *cp2 = '\0';