From: "Warren, John H." <JHWARREN () ESCOCORP ! com>
To: tru64-unix-managers
Subject: grep question
Date: Wed, 25 Aug 1999 15:44:27 +0000 [thread overview]
Message-ID: <96079067216166.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BEEF10.B6AC1A40", Size: 1312 bytes --]
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>grep question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">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..).</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks.</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01BEEF10.B6AC1A40--
next reply other threads:[~1999-08-25 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-25 15:44 Warren, John H. [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-06-12 19:17 grep question bac
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox