rpm command line help needed

Eddie Williams plug-discuss@lists.plug.phoenix.az.us
Tue, 22 Jan 2002 00:12:47 -0800


I was testing it by grepping XFree86 like so:

[droog@bigblack droog]$ rpm -qa|awk -F "-[0-9]" '{print $1}'|grep XFree86
XFree86-libs
XFree86
XFree86-twm
XFree86-xfs
XFree86
XFree86-tools
XFree86-xdm
XFree86-devel
XFree86

[droog@bigblack droog]$ rpm -qa|grep XFree86
XFree86-libs-4.0.3-5
XFree86-4.0.3-5
XFree86-twm-4.0.3-5
XFree86-xfs-4.0.3-5
XFree86-100dpi-fonts-4.0.3-5
XFree86-tools-4.0.3-5
XFree86-xdm-4.0.3-5
XFree86-devel-4.0.3-5
XFree86-75dpi-fonts-4.0.3-5

Im too tired to figure it out...:-)


At 12:01 AM 1/22/2002 -0700, you wrote:
>worked here on my DEC alpha when I just cut and pasted the command into the
>terminal.  Make sure you typed it correctly or just cut and paste it.
>
>Eddie Williams wrote:
> >
> > erp....that doesnt quite work correctly....
> >
> > At 11:50 PM 1/21/2002 -0800, you wrote:
> > >rpm -qa|awk -F "-[0-9]" '{print $1}'
> > >
> > >
> > >At 11:59 PM 1/21/2002 -0500, you wrote:
> > >>Yes, I spent an hour in the man page and typing, and I got
> > >>nowhere.
> > >>
> > >>What I want is a list of packages installed without
> > >>version numbers - like rpm -qa.
> > >>
> > >>I know it has to be easy, but that man page is not.
> > >>
> > >>George
> > >>________________________________________________
> > >>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > >>post to the list quickly and you use Netscape to write mail.
> > >>
> > >>PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> > >>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > >
> > >________________________________________________
> > >See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > >post to the list quickly and you use Netscape to write mail.
> > >
> > >PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> > >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't 
> post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>________________________________________________
>See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't 
>post to the list quickly and you use Netscape to write mail.
>
>PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss