* Gary Pennington <[email protected]> [2010-01-27 12:35]: > The guiding principles are: > > - produce output that standard unix text processing tools can process > - assume that repetition of redundant data to support line-oriented > reporting is fine > - don't print headers when using parseable mode > - assume that "something better" is coming along in the future and this > approach is good enough for now
> gary...@osol:~$ pkg publisher -p > opensolaris.org true true true http://pkg.opensolaris.org/dev/ > origin online > opensolaris.org true true true > http://pkg-na-2.opensolaris.org/dev/ mirror online > osol false false false http://192.168.2.100:10000/ origin online This needs to be "-F tsv" (if those are tabs), not "-p". Other subcommands will be producing formatted output. > gary...@osol:~$ pkg publisher -pn > opensolaris.org true true true http://pkg.opensolaris.org/dev/ > origin online > opensolaris.org true true true > http://pkg-na-2.opensolaris.org/dev/ mirror online Replace "-n" with "--enabled". We're using "-n" for no action taken. - Stephen -- [email protected] http://blogs.sun.com/sch/ _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
