[7309] in Athena Bugs
decmips 7.2R: zctl
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Mar 14 14:20:12 1991
From: acevedo@ATHENA.MIT.EDU
Date: Thu, 14 Mar 91 14:20:01 EST
To: bugs@ATHENA.MIT.EDU
System name: hydrox-cookie
Type and version: KN01 7.2R
Display type: PM-MONO
What were you trying to do?
Subscribe to an instance that has a space in the name.
What's wrong:
zctl sub message "foo bar" \* doesn't work; I get "Usage: sub
class instance [*]".
What should have happened:
It should work.
Please describe any relevant documentation references:
I think the problem is that zctl is using it's interactive
parsing routine on command line arguments. Thus, it doesn't care
that it received the following five arguments: "zctl", "sub",
"foo bar", and "*"; it goes ahead and uses its parsing routine on
them. So, the "solution" is to do zctl sub message \"foo bar\"
\*, so that the parsing routine sees the double quotes around
"foo bar". This, however, is wrong. The original syntax should
work.