[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-code
Subject:    Re: [osol-code] different error messages associated with pkg	refresh
From:       Danek Duvall <danek.duvall () sun ! com>
Date:       2009-03-09 14:00:03
Message-ID: 20090309140003.GG9900 () mumak ! SFBay ! Sun ! COM
[Download RAW message or body]

[ Moving to pkg-discuss ]

On Mon, Mar 09, 2009 at 02:01:26AM -0700, Vikash Tulsiyan wrote:

> If the pkg refresh fails, i am supposed to grep the various error message
> it output and report the type of failure depending on them.

The output of "pkg refresh" is not an interface -- you won't be able to
write a script that parses its output correctly and doesn't break from one
release to the next.

What is your goal in this parsing?

Danek
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic