Paul Eggert <eggert@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 11 Mar 2024 05:50:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 11 01:50:36 2024 Received: from localhost ([127.0.0.1]:38353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rjYYW-0002E7-2B for submit <at> debbugs.gnu.org; Mon, 11 Mar 2024 01:50:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:49750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <johclisum@HIDDEN>) id 1rjXQT-0008VA-Hv for submit <at> debbugs.gnu.org; Mon, 11 Mar 2024 00:38:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <johclisum@HIDDEN>) id 1rjXPv-00089Q-GX for bug-diffutils@HIDDEN; Mon, 11 Mar 2024 00:37:39 -0400 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <johclisum@HIDDEN>) id 1rjXPq-00069d-Aw for bug-diffutils@HIDDEN; Mon, 11 Mar 2024 00:37:39 -0400 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-221a37a29f5so1670079fac.3 for <bug-diffutils@HIDDEN>; Sun, 10 Mar 2024 21:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710131852; x=1710736652; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=BLD5LzhZOUB8GqoVcn6CQxz+q8ddPybJM67y7WsLPgE=; b=f5tSJ8jjmOP3uAVdutH8QqLTBLYCrVt5P4UnbMAHBB5dgRse6RtkHaoooAQKHMc0Cu t06WppLoI1RnQRUtS3HmwJneABtpvcTDKgo+Zg9AIGZReexxPc3OQyWAIVjmp/zuUE+e PEikmtQmaaQbK2vVHx8LPYvtAiU54flrAMFHDYBaVVqbFpG6mWrf/1wmPHjqXpJdRpg4 mAImzRwuSbHPyGt+tVGF/JLHN3hRW8EVXfqVKFExVfZO3//2U0kRy3xXhRnBmwxX3ZxR fOa++74H+ojyCsbovDHxGRYyznlRdNr5bfDs+vA7AVFUbxtAQI6UR1W7EVnbjrvuW+S5 9WQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710131852; x=1710736652; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BLD5LzhZOUB8GqoVcn6CQxz+q8ddPybJM67y7WsLPgE=; b=vpwstCQGbQTtz+JnRKgv3AdM3AfUmae8JDwMYyKMXR9I31C0I95gRbr1Ztx3rLwZO2 Ny/PmuoreXkLsU1GGihdjby9JaaUv1mTlFzD2dBMPv+kQBrzeU3OUBypn4eqpjmhoIWH 9jpRIln1VsKKjegL32UDqZv7vp3W1VOeDRIFuAGeZJD9HTNm9h4h6vBypG6XgNojQNdG M46xKv/h0rUqTDUFkRhLZnbGKN2IoNzVz7QqXydnwwz1AHcv/iidNVUYNmNBRH+3tidC 7pHBBjK3WSlfhuRK35pt6BHdHsLgiyvV23nniTtiqnIiPTXxnsyXi/dg9RZP1b3qs5qG vYtg== X-Gm-Message-State: AOJu0YzxhsemL3rGMoC1H55A4Om4LT+weXXqNeairDtQ/P0uHAH0feI5 qY3hjyuVDtnEM10ypHZh58ilQK2hJo64Nr0lgGXVGM1KnxkEUGD6N9yDU78pdPWTG4nkEyaCStN E9wlJutFuomnfk+qzubbDTebE0wxXc/dP X-Google-Smtp-Source: AGHT+IEYZmJnnGSJc4A6F8ry5pN4I7sifXa53wKch/geuq/cOXWxbk2uYla9awjPRN6MOO0LkFbV2ExqVDWgC847DeY= X-Received: by 2002:a05:6870:648b:b0:221:ba23:299 with SMTP id cz11-20020a056870648b00b00221ba230299mr6216445oab.12.1710131851981; Sun, 10 Mar 2024 21:37:31 -0700 (PDT) MIME-Version: 1.0 From: John Summerfield <johclisum@HIDDEN> Date: Mon, 11 Mar 2024 12:37:22 +0800 Message-ID: <CACpe1p0mMZDq00q19ci=R=VpUNe+ZM3pRuH2NSU2abqgPoQdRg@HIDDEN> Subject: Proposed enhancement To: bug-diffutils@HIDDEN Content-Type: multipart/alternative; boundary="0000000000008e753c06135b1911" Received-SPF: pass client-ip=2001:4860:4864:20::2a; envelope-from=johclisum@HIDDEN; helo=mail-oa1-x2a.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 11 Mar 2024 01:50:34 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --0000000000008e753c06135b1911 Content-Type: text/plain; charset="UTF-8" I have been using diff to compare directories on two SSDs on my laptop, tying up two USB ports and immobilising the computer for about two days. I've reviewed its options, and don't see a better way of using it. The man page is a bit short on detail about what it considers same/different, bu I see that I can choose weather filename case matters, whether changes in white space matter, whether fit matters when something has been changed from lower to upper case, etc. I propose another option, a GNU extension if you like. --ignore-contents If filenames are the same, subject to other choices, if the file sizes are the same, if the *times match, then consider them the same. Essentially, we're only comparing the file descriptions, not their contents. I'm ambivalent about dates, perhaps those can be user-choice too, I can think of a few reasons they might differ. Copy to/from DOS-family filesystems and NTFS or ext4 etc. Transfer between computers in different time zones or the transfer program doesn't preserve timestamps. With this change, instead of running almost two days and finding no consequential differences, it could have been all over in a couple of minutes. Thank you for your time and consideration. John Summerfield -- Cheers John --0000000000008e753c06135b1911 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I have been using=C2=A0diff to compare directories on two = SSDs on my laptop, tying up two USB ports and immobilising the computer=C2= =A0 for about two days.<br><br>I've reviewed its options, and don't= see a better way of using it.<br><br>The man page is a bit short on detail= about what it considers same/different, bu I see that I can choose weather= =C2=A0filename case matters, whether changes in white space matter, whether= fit matters when something has been changed from lower to upper case, etc.= <br><br>I propose another option, a GNU extension if you like.<br>--ignore-= contents<br clear=3D"all"><div>If filenames are the same, subject=C2=A0to o= ther choices, if the file sizes are the same, if the *times match, then con= sider them the same. Essentially, we're only comparing the file descrip= tions, not their contents.<br><br>I'm ambivalent about dates, perhaps t= hose can be user-choice too, I can think of a few reasons they might differ= . Copy to/from DOS-family filesystems and NTFS or ext4 etc. Transfer betwee= n computers in different time zones or the transfer program doesn't pre= serve timestamps.<br><br>With this change, instead of running almost=C2=A0t= wo days and finding no consequential differences, it could have been all ov= er in a couple of minutes.<br><br>Thank you for your time and consideration= .<br><br>John Summerfield</div><span class=3D"gmail_signature_prefix">-- </= span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail= _signature"><div dir=3D"ltr"><div><br></div>Cheers<div>John</div></div></di= v></div> --0000000000008e753c06135b1911--
John Summerfield <johclisum@HIDDEN>
:bug-diffutils@HIDDEN
.
Full text available.bug-diffutils@HIDDEN
:bug#69723
; Package diffutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.