Newsgroups: comp.unix.questions
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!att!att!dptg!mtune!jrw
From: jrw@mtune.att.com (Jim Webb)
Subject: Re: How do I search for apostrophe using egrep?
Message-ID: <1991Jun25.174547.14539@mtune.att.com>
Keywords: Is this a trick question?
Organization: AT&T BL Middletown/Lincroft NJ USA
References: <1991Jun25.074801.517@weyrich.UUCP>
Distribution: usa
Date: Tue, 25 Jun 1991 17:45:47 GMT

In article <1991Jun25.074801.517@weyrich.UUCP> orville@weyrich.UUCP (Orville R. Weyrich) writes:
>I have been trying to make egrep search for words which are enclosed in
>apostrophes, for example 'hello'.
>
>I can't seem to get this to work. 

		egrep "'.*'" filename

works for me on SVR3.

---Jim

