From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id C0AC51F4B4 for ; Sat, 26 Dec 2020 19:12:49 +0000 (UTC) Received: from localhost ([::1]:58180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktEzg-0004M7-FA for normalperson@yhbt.net; Sat, 26 Dec 2020 14:12:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktEzd-0004Lw-CO for bug-gnulib@gnu.org; Sat, 26 Dec 2020 14:12:45 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:34552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktEzb-0003y5-6G for bug-gnulib@gnu.org; Sat, 26 Dec 2020 14:12:44 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E7F6A160115; Sat, 26 Dec 2020 11:12:40 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id CyCKuqxofUD2; Sat, 26 Dec 2020 11:12:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3B4A8160117; Sat, 26 Dec 2020 11:12:40 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XwcGO4PiVdhd; Sat, 26 Dec 2020 11:12:40 -0800 (PST) Received: from [192.168.1.9] (cpe-23-243-218-95.socal.res.rr.com [23.243.218.95]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 0D4D2160115; Sat, 26 Dec 2020 11:12:40 -0800 (PST) Subject: Re: cmp/diff To: Bruno Haible , Simon Josefsson References: <878s9k8rhw.fsf@latte.josefsson.org> <2437960.L2bZbQ6S5l@omega> <87ft3spgax.fsf@latte.josefsson.org> <4087542.9Ba499KVGE@omega> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <7b8233d6-76d1-487e-d724-421780fafc88@cs.ucla.edu> Date: Sat, 26 Dec 2020 11:12:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <4087542.9Ba499KVGE@omega> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -57 X-Spam_score: -5.8 X-Spam_bar: ----- X-Spam_report: (-5.8 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.619, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On 12/26/20 10:49 AM, Bruno Haible wrote: >> It would be nice to reduce that set of tools. > Well, both 'cmp' and 'diff' are part of POSIX: Even awk is on that list, and it's much fancier than cmp or diff. And I wouldn't support removing awk either, as it's a handy tool in Makefiles when the shell isn't up to a text-processing task. Looking at that list now, the only obvious tool to remove is egrep, since 'grep -E' subsumes it nowadays.