How do I search for apostrophe using egrep?

Dave Eisen dkeisen at leland.Stanford.EDU
Wed Jun 26 00:23:22 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'.
>

egrep "'hello'" filename or

egrep \'hello\' filename



More information about the Comp.unix.questions mailing list