>>>>> "Jack" == Jack Bowling <[EMAIL PROTECTED]> writes:
> I use this stupidly simple bash script. I call it "rpmlist"
> rpm -qa --qf '%-20.20{VENDOR} %30.30{BUILDHOST} ::
> %{NAME}-%{VERSION}.%{ARCH}\n' | sort > /home/jb/rpm.lst
> jb
Jack,
Thanks for the great idea. I was playing with this and came up with:
#!/bin/sh
rpm -qa --qf '%-20.20{VENDOR} :: %{NAME}-%{VERSION}.%{ARCH}
%{SUMMARY}\n%{DESCRIPTION}
==================================================\n\n' > /tmp/rpm.list
Now, I want to get the install date in there as well. The
%{INSTALLTIME} tag returns the unix format date string. According to
the man-page, the special tag 'date' is understood if followed by
':tagtype' but I'm not getting the right syntax.
How can I extract mm/dd/yyyy from the tag, INSTALLTIME?
Regards,
Gregg
"Do not try to solve all life's problems at once -- learn to dread each
day as it comes." -- Donald Kaul
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list