From owner-freebsd-questions Fri Feb 26 20:52:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from garfield.bmk.com.au (bmkind.lnk.telstra.net [139.130.51.118]) by hub.freebsd.org (Postfix) with ESMTP id 9A44A150DE for ; Fri, 26 Feb 1999 20:52:40 -0800 (PST) (envelope-from brendan@bmk.com.au) Received: from localhost (brendan@localhost) by garfield.bmk.com.au (8.8.7/8.8.7) with SMTP id PAA05422 for ; Sat, 27 Feb 1999 15:52:52 +1100 (EST) (envelope-from brendan@bmk.com.au) Date: Sat, 27 Feb 1999 15:52:51 +1100 (EST) From: Brendan Kosowski X-Sender: brendan@garfield To: FreeBSD Questions Subject: grep question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How do I search for a string if it contains quotation marks ? " is used by grep to mark the start and end of a string : ( eg: grep "string" filename ). ie: How do I tell grep to search for: ( the dog said "woof" ) Thanks & Regards, Brendan... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message