Liane Praza wrote:
> 
> I also decided to leave the method name out of the fixed width field,
> as method name length is variable.  I think the space separation
> between method name and the actual method is a reasonable choice, but
> am happy to hear feedback on anything that increases human usability
> without sacrificing output format or potential machine parseability.
> 

Liane,

I think leaving the method name out of the fixed width field is a good 
choice. To enhance human usability, it might be better if the method 
name and its value were separated by a tab instead of a single space:

  $ ./svcs -l telnet
   fmri         svc:/network/telnet:default
   name         Telnet server
   enabled      false
   state        disabled
   next_state   none
   state_time   Tue Sep 18 10:10:03 2007
   restarter    svc:/network/inetd:default
   method       inetd_start      /usr/sbin/in.telnetd
   method       inetd_disable    :kill

This looks a little nicer IMO, as the method name stands out a little 
more and the actual methods line up. Machine parseability would be the same.

Yay for procrastination!

Menno
-- 
Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno

Reply via email to