On Tuesday February 11 2003 07:01 pm, et wrote:

> > >[root@localhost user]# rpm -qa  | grep -i Windowmaker
> > >WindowMaker-0.80.1-2.1mdk

> > That will do.  Thx Damian.  Not that I'll remember the command
> > cause I don't understand grep yet... :)
> > So I'll just save your mail as a txt file.
> > -------------
> > FemmeFatale

> grep is just a way to use regular words to sort and see only
> certian info. in the above command, rpm -qa (asks the rpm program
> to Query All so -qa) then "|" is a "pipe to" or route thru, then,
> grep -i Windowmaker says only answers that (-i) include
> "WIndowmaker" so grep strips out all the answers that don't include
> "Windowmaker"

       -i, --ignore-case
              Ignore case distinctions in  both  the  PATTERN  and 
              the  input files.
IOW's,

rpm -qa  | grep -i windowmaker   will also return
WindowMaker-0.80.1-2.1mdk
-- 
    Tom Brinkman                  Corpus Christi, Texas

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to