Nicolas Williams wrote:
> On Wed, Jun 04, 2008 at 12:56:33PM -0700, David Bustos wrote:
> > No, sorry I wasn't clear enough.  I'm proposing that svcprop print the
> > values in such a way that you can do
> >
> >       for val in `svcprop ...`; do
> >               ...
> >       done
> >
> > or
> >
> >       set -- `svcprop ...`
> >       # use positional parameters
> 
> Yes, that could be done too.

And how do you feed this into an array ? And in general - how do I know
whether a property is _designed_ to carry exactly only _one_ value or
whether it may return _muliple_ values (that's a larger (and "open")
question and right now we can't properly design a data model (which is
needed to define a working solution) without knowing this information).
 
----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to