How do I search for apostrophe using egrep?

Jim Webb jrw at mtune.att.com
Wed Jun 26 03:45:47 AEST 1991


In article <1991Jun25.074801.517 at weyrich.UUCP> orville at 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




More information about the Comp.unix.questions mailing list