[Rpm-maint] [rpm-software-management/rpm] Correct and update Query formats documentation (#827)

Panu Matilainen notifications at github.com
Mon Sep 9 12:59:50 UTC 2019


pmatilai commented on this pull request.



>  
 To make this work properly, you need to tell RPM to always print the first
 item in the NAME element. You do this by placing a '=' before the tag
 name, like this:
 
 \verbatim
-    rpm -q --queryformat "[%{=NAME} %{FILENAMES}\n]" cdp
+    rpm -q --queryformat "[%{=NAME} %{FILENAMES}\n]" systemd

If you change this, then you also need to change the output sample below.

We can't list the entire systemd package contents there so dunno if it's really worth it. Looking closer, there are several other now extinct package names mentioned in the document too, IF we want to update then maybe we should update them all. Or just leave them as historical reference for future generations to gape at...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/827#pullrequestreview-285487935
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190909/e8db6adf/attachment.html>


More information about the Rpm-maint mailing list