On Wed, Jun 04, 2008 at 12:53:34AM -0500, Nicolas Williams wrote: > svcprop(1) does a pretty heroic job of escaping shell metachars from > property values. It's even heroic about newlines in property values > > Unfortunately the way it deals with multiple values ruins that heroism: > > % svcprop -t -c -p config someservice > config/bar astring d\ > \ c e > % > > Quick: how many values is that? > > In my case it was *two*. Bet you couldn't tell. > > I'd rather svcprop(1) had an option to print multiple values like so: > ...
Please yes. What is desperately needed is the syntax to reliably assign a ksh93 or bash array variable from a multi-valued property *and* handle all the escapes and quoting etc. -Mike -- Mike Shapiro, Sun Microsystems Fishworks. blogs.sun.com/mws/