diff options
author | Russ Cox <rsc@swtch.com> | 2020-05-04 23:31:59 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-05-04 23:41:15 -0400 |
commit | ff74f7cdda7b08da6fe7c8bbcca990305fd6b547 (patch) | |
tree | b09483dbdbc9e6908e2744c680b8d19447ff72c7 /src/cmd/rc/test.rc | |
parent | 7d6a248f2c68d70f58387afc69e73e695c3d940c (diff) | |
download | plan9port-ff74f7cdda7b08da6fe7c8bbcca990305fd6b547.tar.gz plan9port-ff74f7cdda7b08da6fe7c8bbcca990305fd6b547.tar.bz2 plan9port-ff74f7cdda7b08da6fe7c8bbcca990305fd6b547.zip |
rc: allow unquoted = in command arguments
dd fans rejoice!
Also helps with commands like go test -run=x.
Diffstat (limited to 'src/cmd/rc/test.rc')
-rw-r--r-- | src/cmd/rc/test.rc | 9 |
1 files changed, 9 insertions, 0 deletions
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 |