From ff74f7cdda7b08da6fe7c8bbcca990305fd6b547 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 4 May 2020 23:31:59 -0400 Subject: rc: allow unquoted = in command arguments dd fans rejoice! Also helps with commands like go test -run=x. --- src/cmd/rc/test.rc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/cmd/rc/test.rc') diff --git a/src/cmd/rc/test.rc b/src/cmd/rc/test.rc index 7a83ad17..f667b840 100644 --- a/src/cmd/rc/test.rc +++ b/src/cmd/rc/test.rc @@ -74,3 +74,12 @@ OPTIONS=$OPTIONS' /axescount '^`{echo $1 | sed s/-a//}^' def' # bug in old printfont script - expected more free carats # OPTIONS=$OPTIONS' /axescount '`{echo $1 | sed s/-a//}' def' + +(x) = y +x=y +x = y + +# works now! +# x y=z +# x =y +# x -flag=y -- cgit v1.2.3