On Tue, 2002-01-15 at 12:02, Gregg Morris wrote: > #!/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?
I can at least get you the date in human readable format: try %{installtime:date} The man page is not real clear on this. I thought I actually did what you are looking for once but can't put my hand on it right now. HTH Bret _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list