From 08b394dc393a707a7d46d3cc7dd725e6e66e29cc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 15 Jan 2002 18:16:31 +0000 Subject: [PATCH] Quoted commas were not being treated correctly in command line arguments. --- parse.lex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse.lex b/parse.lex index bdb5b6745..791cd42c6 100644 --- a/parse.lex +++ b/parse.lex @@ -157,7 +157,7 @@ DEFVAR [a-z_]+ } { - \\[:\,= \t#] { + \\[:\\,= \t#] { LEXTRACE("QUOTEDCHAR "); fill_args(yytext + 1, 1, sawspace); sawspace = FALSE; @@ -169,7 +169,7 @@ DEFVAR [a-z_]+ return(COMMAND); } /* end of command line args */ - [^:, \t\n]+ { + [^\\:, \t\n]+ { LEXTRACE("ARG "); fill_args(yytext, yyleng, sawspace); sawspace = FALSE; -- 2.40.0