man rpm says that I can use the --queryformat with the :xml arg to wrap the output of rpm in XML. I cannot find an example of the syntax.
Getting formats is pretty straight forward:
But, how do I use the 'qf' functionality to tell it to wrap the output in XML, as it says it can?
Thanks
'hope this helps
If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
Getting formats is pretty straight forward:
Code:
>rpm -qa -qf "%{NAME}\n"
But, how do I use the 'qf' functionality to tell it to wrap the output in XML, as it says it can?
Thanks
'hope this helps
If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.