On Thu, Dec 18, 2008 at 11:55:58AM -0600, Shawn Walker wrote:
> swal...@zorander:~/devel/pkg-1931/src$ ./client.py verify SUNWsolnm
>
>
> swal...@zorander:~/devel/pkg-1931/src$
That's the current output you're seeing? Two newlines? I'm only seeing
one, running either /bin/sh or zsh:
$ pkg verify SUNWsolnm
$ pkg verify SUNWzone
PACKAGE STATUS
pkg:/SUNWzone ERROR
dir: usr/kernel
Group: 'bin' should be 'sys'
dir: usr/kernel/drv
Group: 'bin' should be 'sys'
dir: usr/kernel/drv/amd64
Group: 'bin' should be 'sys'
$
> So, as you can see, the very last line of output from the program is the
> progress tracker (normally) when running verify. By printing the cr, I am
> effectively telling python that there's nothing to terminate, so it doesn't
> add the newline.
Okay. I didn't see anything at the URL you sent saying that if a CR was
the last thing printed on a line, the softspace handling would be
overridden and no newline printed.
I agree that this works; I just didn't see how. Assuming the above
paragraph is correct, I think I get it.
Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss