From unknown Sun Jun 22 07:57:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48168: diff: mention if any GNU extensions Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-diffutils@gnu.org Resent-Date: Sun, 02 May 2021 20:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48168 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: 48168@debbugs.gnu.org X-Debbugs-Original-To: bug-diffutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16199876021915 (code B ref -1); Sun, 02 May 2021 20:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2021 20:33:22 +0000 Received: from localhost ([127.0.0.1]:44576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldImI-0000Up-3y for submit@debbugs.gnu.org; Sun, 02 May 2021 16:33:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:47354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldImG-0000UU-2y for submit@debbugs.gnu.org; Sun, 02 May 2021 16:33:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldImF-0002vj-Rz for bug-diffutils@gnu.org; Sun, 02 May 2021 16:33:19 -0400 Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:59578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldImC-0000M1-6Q for bug-diffutils@gnu.org; Sun, 02 May 2021 16:33:19 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0E35540283F for ; Sun, 2 May 2021 20:33:13 +0000 (UTC) Received: from pdx1-sub0-mail-a60.g.dreamhost.com (100-96-133-91.trex.outbound.svc.cluster.local [100.96.133.91]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 96124402748 for ; Sun, 2 May 2021 20:33:12 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a60.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.133.91 (trex/6.2.1); Sun, 02 May 2021 20:33:12 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Industry-Oafish: 348e10d42228f480_1619987592841_165219214 X-MC-Loop-Signature: 1619987592841:1463231165 X-MC-Ingress-Time: 1619987592840 Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id 523DB9DCDD for ; Sun, 2 May 2021 20:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=eM1kcF2QMEMQnyMK1TVZpi+Xwkk=; b=P/Dea6OgB0DT8fp7 cXXl7ovdjCzVXfc/UnQyxdi9LvOE8NpOpcQFC1v5OXUkke2U0trPZRwey6qzj0Cf 7Hq/M4ndDo46ijWwszXkO6Pguf6dDp0wgI6FFRwU64B2aDOlEq57WQIgyuHpu7dm 1LHtB8JkMpILvrMoKZw4yYdc6zI= Received: from jidanni.org (114-41-2-18.dynamic-ip.hinet.net [114.41.2.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 142889713E for ; Sun, 2 May 2021 20:33:11 +0000 (UTC) X-DH-BACKEND: pdx1-sub0-mail-a60 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Mon, 03 May 2021 04:01:27 +0800 Message-ID: <87zgxcc3c8.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.209.62; envelope-from=jidanni@jidanni.org; helo=fossa.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On the diff man and INFO pages there is no mention if diff has any GNU extensions in it, or portability gotchas, so maybe mention it is POSIX compatible or something. One worries there are extensions but just not mentioned. E.g., "I am about to use diff -U0. But I have an uneasy feeling that it might not work on a non-GNU system but I am offline so can't do an exhaustive check, and the docs don't mention anything confirming that they remembered to mention what options are GNU extensions... Not even one."