Path: utzoo!attcan!uunet!lll-winken!ames!purdue!decwrl!shelby!agate!saturn!ucscc.UCSC.EDU!haynes From: haynes@ucscc.UCSC.EDU (Jim Haynes) Newsgroups: comp.unix.questions Subject: grep(s) on 4.x BSD Keywords: grep Message-ID: <7091@saturn.ucsc.edu> Date: 12 May 89 03:49:33 GMT References: <157@VAX1.CC.UAKRON.EDU> Sender: usenet@saturn.ucsc.edu Reply-To: haynes@ucscc.UCSC.EDU (Jim Haynes) Organization: California State Home for the Weird Lines: 16 We just discovered on our system, which started life as 3BSD and has been upgraded over the years to 4.3 (but not tahoe), that there are a /usr/ucb/grep and a /bin/grep. The /bin/grep seems to have powers that the others don't, such as working with the expression '\(.*\)\1' A 4.3 tahoe system seems to have only the /usr/ucb/grep, which does not work with that expression. Does anybody remember how we got into this mess and why? haynes@ucscc.ucsc.edu haynes@ucscc.bitnet ..ucbvax!ucscc!haynes "Any clod can have the facts, but having opinions is an Art." Charles McCabe, San Francisco Chronicle