From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067216166.tru64-unix-managers.marc@archive.invalid> From: "Warren, John H." Date: Wed, 25 Aug 1999 15:44:27 +0000 To: tru64-unix-managers Subject: grep question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067216166 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01BEEF10.B6AC1A40" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BEEF10.B6AC1A40 Content-Type: text/plain; charset="iso-8859-1" I am trying to anchor my regular expression ( I know I can do this in perl) for a grep command. I only see ^ and $ anchors in the man page. How can I block the grep expression to match exactly (i.e. 348 returns only 348, not 3481, 2348, etc..). Thanks. ------_=_NextPart_001_01BEEF10.B6AC1A40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable grep question

I am trying to anchor my regular = expression ( I know I can do this in perl) for a grep command.  I = only see ^ and $ anchors in the man page.  How can I block the = grep expression to match exactly (i.e.  348 returns only 348, not = 3481, 2348, etc..).

Thanks.

------_=_NextPart_001_01BEEF10.B6AC1A40-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621797.tru64-unix-managers.marc@archive.invalid> From: bac Date: Tue, 12 Jun 2001 19:17:57 +0000 To: tru64-unix-managers Subject: grep question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621797 In a file that contains multiple instances of the following type of text, I only want to extract the numbers.... (2 lines after 'CPU Summary') # CPU SUMMARY # USER SYS IDLE WAIT INTR SYSC CS RUNQ AVG5 AVG30 AVG60 FORK VFORK 1 2 97 0 25 6855 631 0 0.11 0.23 0.22 0.60 For example I only want: 1 2 97 0 25 6855 631 0 0.11 0.23 0.22 0.60 How can I do this? Thanks __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/