Cheng Renquan wrote:
On Tue, Dec 2, 2008 at 11:23 AM, Michael Clark <[EMAIL PROTECTED]> wrote:
Eugene Teo wrote:
I have ended up using the following (I was just running it when I received
your mail):
machine A:
yum list installed | awk '{ print $1; }' > package.list
Inspired by Fedora 10 Release Notes, rpm -q can accept an
"queryformat" parameter, so
rpm -qa --queryformat "%{NAME}.%{ARCH}\n' > package.list
also work on machine A, which doesn't need a text parser.
Thanks! That's pretty much what I wanted and I'm sure this approach will
come in handy next time.
_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet