1846876 Members
2903 Online
110256 Solutions
New Discussion

swlist

 
SOLVED
Go to solution
Eli_pok
Frequent Advisor

swlist

Hi,
the command "swlist-l patch" return a list of products and patches, while some line (product description) begin with a "#" and some not.
What is the meaning the "#" ?
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: swlist

Hi:

The "#" character denotes a commentary description line.

Regards!

...JRF...
Aussan
Respected Contributor

Re: swlist

the # is for description, it's describing what the product is for, a comment if you will
The tongue weighs practically nothing, but so few people can hold it
Marco A.
Esteemed Contributor
Solution

Re: swlist

That's only to identidy the product that will be listed, don't worry about it, actually that's for a better view of the output.
To see a complete list of patches witout those things try the command "show_patches"

Hope this helps,

Marc'o
Just unplug and plug in again ....
Tor-Arne Nostdal
Trusted Contributor

Re: swlist

The # is descriptions/comments which might be ignored.

Command:
swlist -l patch | grep -v ^#

Superseeded patches is by default not shown by swlist command. To see these as well:
swlist -l patch -xshow_superseded_patches=true | grep -v ^#

Patch handling is improved with other commands than swlist/swmodify aso.

See also manpages for:
show_patches
check_patches
cleanup

You might want to commit patches which have been superseeded twice. take a closer look at the man pages for cleanup.

/Tor-Arne
I'm trying to become President of the state I'm in...
Bob E Campbell
Honored Contributor

Re: swlist

As fond as I am of show_patches (check out the -oit option on the newest version) I prefer using a simple software specification along the lines of:

# swlist -l product *,c=patch

The patch category tag should work at the product or fileset levels.