Quoth Nicolas Williams on Thu, Apr 27, 2006 at 03:28:11PM -0500: > On Thu, Apr 27, 2006 at 12:58:49PM -0700, Stephen Hahn wrote: > > * David Bustos <David.Bustos at sun.com> [2006-04-27 11:45]: > > > Hmm, I wonder if we should also allow svcprop with no operands, which > > > would automatically use scf_myname() to determine the current service. > > > > Requires all processes to provide sanitized environments to their > > descendants or scf_myname() to be a bit more contract aware... but > > interesting. > > Would it output all properties and values?
svcprop without an operand? It would if you did not specify any options. (I expect that most scripts would do svcprop -1 -T <type> -p pg/prop though.) > Hey, how about more string escaping options? E.g., hex, od -c style > (minus unnecessary spaces)? For arbitrary types? For astrings? I believe we already dump hex for opaque values. Otherwise, it doesn't seem like a common use case to me. Do you have cases in mind? David