rpm --qf / nonsense

Elan Ruusamäe glen at pld-linux.org
Thu Sep 18 17:48:54 CEST 2014


rpm --qf gives out nonsense (ignores arg completely?) if --qf format 
starts with a slash:

see transcript below:
$ rpm -q rpm  --qf '%{N}\n'
rpm
$ rpm -q rpm  --qf '/usr/share/doc/%{N}\n'
rpm-5.4.14-5.x86_64
$ rpm -q rpm  --qf '/%{N}\n'
rpm-5.4.14-5.x86_64
$ rpm -q rpm  --qf 'lol%{N}\n'
lolrpm

so... wtf?!

-- 
glen



More information about the pld-devel-en mailing list