From owner-freebsd-questions Sat Feb 27 10:40:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hyperhost.net (ether.lightrealm.com [207.159.132.5]) by hub.freebsd.org (Postfix) with ESMTP id 8536914BDA for ; Sat, 27 Feb 1999 10:40:56 -0800 (PST) (envelope-from patseal@hyperhost.net) Received: from port1.annex8.radix.net (port1.annex8.radix.net [205.252.108.1]) by hyperhost.net (8.8.5/8.8.5) with ESMTP id NAA24864; Sat, 27 Feb 1999 13:40:26 -0500 (EST) Date: Sat, 27 Feb 1999 13:40:09 -0500 (EST) From: Patrick Seal To: brendan@bmk.com.au Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 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 well then try, man 'whatever the hell shell you're using' man tcsh states: `\' nullifies the special meaning of the following character, if it has any, notably `\' and `^'. ... > echo It\'s eleven o\'clock. causes the shell to echo `It's eleven o'clock.' ... If set, backslashes (`\') always quote `\', `'', and `"'. This may make complex quoting tasks eas- ier, but it can cause syntax errors in csh(1) scripts. so please try the man pages first, ------------------------------------ _____________________________________ Patrick Seal |"Microsoft isn't evil, they just make | really crappy operating systems." Hyperhost - http://www.hyperhost.net| -Linus Torvalds hosting and Design http://www.freebsd.org - http://www.linux.org On Sat, 27 Feb 1999, Brendan Kosowski wrote: > > Your manual is obviously better than mine. > > "FreeBSD isn't evil, they just make > really crappy manuals." > -Brendan Kosowski > > -------------------------------------- > > > On Sat, 27 Feb 1999, Patrick Seal wrote: > > > Holy bejebees bat# man grep > > > > ------------------------------------ _____________________________________ > > Patrick Seal |"Microsoft isn't evil, they just make > > | really crappy operating systems." > > Hyperhost - http://www.hyperhost.net| -Linus Torvalds > > hosting and Design > > > > http://www.freebsd.org - http://www.linux.org > > > > > > > > > > On Sat, 27 Feb 1999, Brendan Kosowski wrote: > > > > > > > > > > > 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 > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message