[CentOS] sed (or other) magic to get RPM base names ?

Ralph Angenendt ralph.angenendt at gmail.com
Mon Sep 21 13:08:44 UTC 2009


On Mon, Sep 21, 2009 at 3:06 PM, Alan McKay <alan.mckay at gmail.com> wrote:
> avahi-0.6.16-1.el5
> avahi-glib-0.6.16-1.el5
>
> produce this :
>
> avahi
> avahi-glib

root at knodd:~# rpm -qa --queryformat "%{name}\n" avahi\*
avahi
avahi-compat-libdns_sd
avahi-glib
root at knodd:~#

Ralph



More information about the CentOS mailing list