Re: grep / regex question

From: Bill Thompson (bill.thompson@GOODYEAR.COM)
Date: Mon Aug 19 2002 - 07:48:54 EDT


Another method:

df -k | grep -E -e '9[0-9]%|100%'

Bill Thompson
Sr UNIX Systems Administrator
The Goodyear Tire & Rubber Co.

Contains Confidential and/or Proprietary Information
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company.

AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-;&r=1&w=2

----- Original Message -----
From: "Green, Simon" <SGreen@KRAFTEUROPE.COM>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Monday, August 19, 2002 7:11 AM
Subject: Re: grep / regex question

> df -k|grep -e [09][0-9]%
>
> Simon Green
> Philip Morris ITSC Europe
>
> AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
> AIX FAQ at http://www.faqs.org/faqs/aix-faq/
>
> N.B. Unsolicited email from vendors will seldom be appreciated.
>
> > -----Original Message-----
> > From: Holger.VanKoll@SWISSCOM.COM [mailto:Holger.VanKoll@SWISSCOM.COM]
> > Sent: 19 August 2002 11:44
> > To: aix-l@Princeton.EDU
> > Subject: grep / regex question
> >
> >
> > Hello,
> >
> > (how) can I do this with one -e option?
> >
> > df -k |grep -e 9[0-9]% -e 100%
>
                                                                              
 (Embedded Bill Thompson
 image moved The Goodyear Tire & Rubber Company
 to file: Contains Confidential and/or Proprietary Information.
 pic27465.jpg) May Not Be Copied or Disseminated Without Express Consent of
               The Goodyear Tire & Rubber Company.
                                                                              



pic27465.jpg

This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:09 EDT