query formats with rpm

kurt.wall@timesys.com kurt.wall
Mon May 17 11:28:37 PDT 2004


Typing furiously on March 18, David A. Bandel managed to emit:
> On Mon, 18 Mar 2002 09:04:34 -0500
> begin  kurt.wall at timesys.com spewed forth:
> 
> > Typing furiously on March 17, Joel Hammer managed to emit:
> > > Could someone give me an example of using query formats with rpm?
> > > The man page says -qf followed by the format tag, like %{NAME} should
> > > do something useful, but I can't get it to work, at least on
> > > uninstalled packages.
> > > Thanks,
> > > Joel
> > 
> > The man page say "--qf", that is, 2 hyphens.
> > 
> 
> That's odd.  I _know_ I've never used 2 hyphens with -q and it works fine
> here.

Aargh. "--qf" is a synonym for "--queryformat". Quite different from
"-qf", which shows the rpm that installed a specific file.

K
-- 
A day without sunshine is like a day without orange juice.



More information about the Linux-users mailing list