Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site rlgvax.UUCP Path: utzoo!decvax!wivax!linus!genrad!grkermit!mit-vax!eagle!harpo!seismo!rlgvax!guy From: guy@rlgvax.UUCP Newsgroups: net.unix-wizards Subject: Re: egrep bug Message-ID: <556@rlgvax.UUCP> Date: Wed, 1-Jun-83 20:23:24 EDT Article-I.D.: rlgvax.556 Posted: Wed Jun 1 20:23:24 1983 Date-Received: Sat, 4-Jun-83 09:06:17 EDT References: <1546@floyd.UUCP> Organization: RLG Corp., Reston, VA Lines: 19 It's a V7 bug; a "diff" between V7 and 4.1BSD "egrep.y" reveals that this part of its behavior hasn't changed. On the other hand, a quick check of the System III "egrep.y" reveals that it does NOT exit if a file does not exist; in fact, it does exactly what you wanted it to (i.e., it eventually exits with an exit code of 2). So don't feel (too) guilty about changing it. Any chance UCB will get an academic USG license ($800 for the first CPU, and I think free for all subsequent ones) any time in the future? Then they will be able to send out more new Bell stuff with their releases, and won't have to reinvent things in order to get around the license. It'll help make a "best of all possible worlds" system (after all, believe it or not, there are some things that USG UNIX does right and Research UNIX - which 4.?BSD is ultimately derived from - doesn't), as well as the other way around - ever tried reading in a "tar" tape from a foreign site on a system (like USG) which lets you (for which read "tar") give away files? Feh! Guy Harris RLG Corporation {seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy Brought to you by Super Global Mega Corp .com