[883] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Re: patch for clients/zctl/zctl.c

daemon@ATHENA.MIT.EDU (Derrick J Brashear)
Sat Aug 2 20:42:03 1997

Date: Sat, 2 Aug 1997 20:41:58 -0400 (EDT)
From: Derrick J Brashear <shadow@DEMENTIA.ORG>
To: John Hawkinson <jhawk@MIT.EDU>
Cc: Derrick J Brashear <shadow+@andrew.cmu.edu>, bug-zephyr@MIT.EDU
In-Reply-To: <199708012206.SAA19791@scrubbing-bubbles.MIT.EDU>

On Fri, 1 Aug 1997, John Hawkinson wrote:

> I'm not so sure. I regularly make use of the idiom:
> 
> 	% zctl add 'classname * *'
> 
> and it would be annoying if it broke.
> 
> I guess you have this desire to do things like:
> 
> 	% zctl add 'afs: Waiting for busy volume 1970596247 in cell andrew.cmu.edu' \* %me%
> 
> or something?
> 
> Which of these seems more rational to you?

I coded up a case which can deal with both 
zctl 'add foo * *' and zctl add foo 'bar baz' * 
but that's not quite what you said. Do you consider this to be more
reasonable? After more thought, I think the patch is well-merited, since a
command which is expected to be given three arguments should not
(necessarily) be expected to work when given one; I can't think of another
that does.

-D



home help back first fref pref prev next nref lref last post