tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: grep
@ 1997-10-09 21:31 Paul Kitwin
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Kitwin @ 1997-10-09 21:31 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY:  GREP
@ 1999-08-25 16:12 Warren, John H.
  0 siblings, 0 replies; 2+ messages in thread
From: Warren, John H. @ 1999-08-25 16:12 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01BEEF14.AD51FDEE", Size: 2055 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_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 <http://www.pgp.com>

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

<!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>SUMMARY:  GREP</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>-----BEGIN PGP SIGNED MESSAGE-----</FONT>
<BR><FONT SIZE=3D2>Hash: SHA1</FONT>
</P>

<P><FONT SIZE=3D2>Question:&nbsp; How can I grep specific words or =
characters (anchoring</FONT>
<BR><FONT SIZE=3D2>patterns)?</FONT>
</P>

<P><FONT SIZE=3D2>Answer (simply enough):&nbsp; Use egrep -w&nbsp; (to =
match the word exactly)</FONT>
<BR><FONT SIZE=3D2>(This simple answer goes against Unix norms =
:-)</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>-----BEGIN PGP SIGNATURE-----</FONT>
<BR><FONT SIZE=3D2>Version: PGPfreeware 6.5.1 for non-commercial use =
&lt;<A HREF=3D"http://www.pgp.com" =
TARGET=3D"_blank">http://www.pgp.com</A>&gt;</FONT>
</P>

<P><FONT =
SIZE=3D2>iQA/AwUBN8QWfD1hHlAaWAMmEQKSPwCfTeNzaTSzu6bJSM04vXgWR+G64YYAoN+=
e</FONT>
<BR><FONT SIZE=3D2>pKVMro71i4kJHHRAipR+ocfx</FONT>
<BR><FONT SIZE=3D2>=3D+47o</FONT>
<BR><FONT SIZE=3D2>-----END PGP SIGNATURE-----</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BEEF14.AD51FDEE--

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-25 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-25 16:12 SUMMARY: GREP Warren, John H.
  -- strict thread matches above, loose matches on Subject: below --
1997-10-09 21:31 SUMMARY: grep Paul Kitwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox