From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110364.tru64-unix-managers.marc@archive.invalid> From: Paul Kitwin Date: Thu, 09 Oct 1997 21:31:12 +0000 To: tru64-unix-managers Subject: SUMMARY: grep X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110364 Thanks for the multitude of rapid resonses from Pirie, Gene, Eric, Slone, and the many more pouring in as I write this. The answer is (in my case): grep A3L0 trash.old | grep "^.....................7" This is where I am looking for every line with A3L0, and has a 7 in the 22nd place. Thanks again to all. P.S. I LOVE YOU GUYS! >From the dark land of the mole people From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067216167.tru64-unix-managers.marc@archive.invalid> From: "Warren, John H." Date: Wed, 25 Aug 1999 16:12:49 +0000 To: tru64-unix-managers Subject: SUMMARY: GREP X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067216167 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01BEEF14.AD51FDEE" 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_01BEEF14.AD51FDEE Content-Type: text/plain; charset="iso-8859-1" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Question: How can I grep specific words or characters (anchoring patterns)? Answer (simply enough): Use egrep -w (to match the word exactly) (This simple answer goes against Unix norms :-) -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.1 for non-commercial use iQA/AwUBN8QWfD1hHlAaWAMmEQKSPwCfTeNzaTSzu6bJSM04vXgWR+G64YYAoN+e pKVMro71i4kJHHRAipR+ocfx =+47o -----END PGP SIGNATURE----- ------_=_NextPart_001_01BEEF14.AD51FDEE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable SUMMARY: GREP

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Question:  How can I grep specific words or = characters (anchoring
patterns)?

Answer (simply enough):  Use egrep -w  (to = match the word exactly)
(This simple answer goes against Unix norms = :-)



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use = <http://www.pgp.com>

iQA/AwUBN8QWfD1hHlAaWAMmEQKSPwCfTeNzaTSzu6bJSM04vXgWR+G64YYAoN+= e
pKVMro71i4kJHHRAipR+ocfx
=3D+47o
-----END PGP SIGNATURE-----

------_=_NextPart_001_01BEEF14.AD51FDEE--