[773] in Zephyr_Bugs
Re: bug in zctl or libss
daemon@ATHENA.MIT.EDU (John Hawkinson)
Thu Apr 18 21:58:35 1996
Date: Thu, 18 Apr 96 21:58:30 -0400
To: Derek Atkins <warlord@MIT.EDU>
Cc: "Derrick J. Brashear" <shadow+@andrew.cmu.edu>, bug-zephyr@MIT.EDU
In-Reply-To: "[772] in Zephyr_Bugs"
From: John Hawkinson <jhawk@MIT.EDU>
> Umm.. the * is being used by the shell to mean "all files in this
> directory", so zctl is seeing 'sub message "foo bar" file1 [file2 ...]'
> which is, of course, wrong. Try this:
>
> 11:44am:shadow@johnstown:023:162> zctl sub message "foo bar" \*
You should try it yourself, Derek.
Derrick is clearly doing it from an empty directory using the bourne
shell:
$ zctl sub message "foo bar" *
Usage: sub class instance [*]
$ echo *
*
Though of course, the same behavior happens from a dir with files
in a csh-derived shell:
[cartoon!jhawk] ~> zctl sub message "foo bar" *
Usage: sub class instance [*]
[cartoon!jhawk] ~> echo * | wc
1 67 553
[cartoon!jhawk] ~>
This is undoubtatly part of the (good!) behavior that lets you do:
zctl add "nuke-cmu * *"
and have it work instead of having to:
zctl add nuke-cmu \* \*
--jhawk