Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!pyramid!infmx!dberg From: dberg@informix.com (David I. Berg) Newsgroups: comp.editors Subject: Re: DELIMITED search Message-ID: <1990Dec3.171557.16350@informix.com> Date: 3 Dec 90 17:15:57 GMT References: <1092@vm.ucs.UAlberta.CA> <339@tslwat.UUCP> <107@deeptht.UUCP> Sender: news@informix.com (Usenet News) Distribution: na Organization: Informix Software, Inc. Lines: 19 In article <107@deeptht.UUCP> spcecdt@deeptht.santa-cruz.ca.us (John DuBois) writes: >In article <1990Oct29.134654.18929@cid.aes.doe.CA>, afsipmh@cidsv01.cid.aes.doe.CA writes: > >> How, in general, can I do delimited searches in UNIX. i.e. How do I >> search for say the string "the" without finding there their other >> thesaurus...... AND including "the" at the beginning and end of a line >> eh? > The delimiters \< and \> will delimit the first and last characters of a logical word. This syntax can be used in vi or any of the greps. To find "the" without also finding all the words in which "the" is contained as a string, find \. ____ / ) __ . ___/ David Berg (dberg@cougar.informix.com) _/___/ (_(_ (/ / (__(_ Informix Software, Inc. 5299 DTC Boulevard, Suite 740 Englewood, CO 80111 (303) 850-0210 The opinions expressed herein do not necessarily reflect those of my employer. Brought to you by Super Global Mega Corp .com