From owner-freebsd-stable@freebsd.org Wed Mar 22 12:41:41 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B905D17929 for ; Wed, 22 Mar 2017 12:41:41 +0000 (UTC) (envelope-from jamie@dyslexicfish.net) Received: from dyslexicfish.net (deadcat.mail.dyslexicfish.net [45.63.12.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE8C61B5A; Wed, 22 Mar 2017 12:41:40 +0000 (UTC) (envelope-from jamie@dyslexicfish.net) Received: from dyslexicfish.net (deadcat.mail.dyslexicfish.net [45.63.12.202]) by dyslexicfish.net (8.14.5/8.14.5) with ESMTP id v2MCfQvQ036898; Wed, 22 Mar 2017 12:41:27 GMT (envelope-from jamie@dyslexicfish.net) Received: (from jamie@localhost) by dyslexicfish.net (8.14.5/8.14.5/Submit) id v2MCfQ8R036897; Wed, 22 Mar 2017 12:41:26 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201703221241.v2MCfQ8R036897@dyslexicfish.net> Date: Wed, 22 Mar 2017 12:41:26 +0000 To: kevans91@ksu.edu, jamie@dyslexicfish.net Cc: jamie@catflap.org, freebsd-stable@freebsd.org, emaste@freebsd.org Subject: Re: Freebsd 11 - /usr/bin missing [xl]zgrep/zegrep/zfgrep References: <201703220233.v2M2X8Jg033781@dyslexicfish.net> <201703220354.v2M3sgKO034696@dyslexicfish.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (dyslexicfish.net [45.63.12.202]); Wed, 22 Mar 2017 12:41:27 +0000 (GMT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2017 12:41:41 -0000 Kyle Evans wrote: > Ah, I see what you mean. I've no idea on the history here, but I > believe the idea is that if I invoke one of these other links (zgrep, > egrep, ...) I'm expecting it to be actually be grep(1) based purely on > the name, and I don't consider bsdgrep(1) to be installed for anything > but a courtesy. > > For grep(1) to be GNU grep while xzgrep to secretly be a link to BSD > grep would be quite surprising to me as a user/admin, especially since > there are very real output and argument differences between the two. > This argument can be furthered by imagining the awkwardness that would > come from a system where the fairly standard *grep links are a mix > between BSD grep and GNU grep. Ahhh. Yes, that does make good sense, now you mention it. Maybe they should be installed as bsdxzgrep ... :-) The thing is, though, it *did* used to do this, and now it doesn't, which isn't very POLA, and the revision log makes no mention of it (it's an update to do with META mode) and I can't find any information about it. I'd have least expected /usr/src/UPDATING to mention when 6 utilities are effectively removed from /usr/bin! Hence why I was wondering if this change was actually intentional - at least now I know a good reason to do this (what you mentioned above) so cheers for that, and the fast responses.. Your first response came in so quickly, I first thought it was a bounce message! Cheers, Jamie P.S. Nice to see someone on this list still remembers mail quoting etiquette ;-)