Quoth Nicolas Williams on Wed, Jun 04, 2008 at 05:38:07PM -0500:
> Below is my first draft of an ARC case for this.  Please review.

Thanks for taking the initiative on this, Nico.

> PROBLEM
> -------
> 
> svcprop(1) output does not unambiguously distinguish the individual
> values of multi-valued properties.  This makes it difficult to script
> around svcprop(1).

Can we make this more precise?  Isn't the problem that when svcprop
quotes newline, it does so with a backslash, which is difficult to use
with "read"?

> PROPOSAL
> --------
> 
> Add two options for providing shell-friendly output for multi-valued
> properties:
> 
>  - svcprop -m ...
...
>  - svcprop -o sh ...
...

Can you explain why a developer would choose one over the other?
I suspect that the former is useful when the developer wants to process
values with embedded newlines differently than those without.  But
I might be missing something.


David

Reply via email to