Edward Pilatowicz wrote:
- seems like there should be an RFE for "pkg list -o XXX"?

See bug 116.

- can package names have spaces in them?  if not, then this comment

No.

  doesn't really matter as much.  but i noticed that running "pkg list
  -H" behaves a little too much like a normal "pkg list".  the "pkg list
  -H" output is exactly the same as without '-H', just sans the header
  line.  compare this to the zfs commands.  if you don't specify '-H' with
  zfs list, then it outputs a header line and all the columns are width
  adjusted to align propertly, using spaces for padding.  but if you do
  specify '-H', then not only is the header line dropped, but the column
  seperator changes from multiple spaces to a single tab.  this is
  critical for scripting because filesystem names can have spaces in them,
  so the use of tabs as seperators allows scripts to propertly parse the
  output.

Maybe; but right now that would be a significant change in output format. Something to consider though...

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to