X-Loop: help-debbugs@HIDDEN Subject: bug#33427: question or RFE on diff -r handling non-same files: show new/older when they "differ" Resent-From: L A Walsh <gnu@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-diffutils@HIDDEN Resent-Date: Mon, 19 Nov 2018 08:35:01 +0000 Resent-Message-ID: <handler.33427.B.154261646319043 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 33427 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: 33427 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-diffutils@HIDDEN" <bug-diffutils@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.154261646319043 (code B ref -1); Mon, 19 Nov 2018 08:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Nov 2018 08:34:23 +0000 Received: from localhost ([127.0.0.1]:59622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gOf0h-0004x5-0o for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 03:34:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gnu@HIDDEN>) id 1gOf0f-0004wr-6y for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 03:34:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <gnu@HIDDEN>) id 1gOf0Z-0001it-F7 for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 03:34:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <gnu@HIDDEN>) id 1gOf0Z-0001il-CH for submit <at> debbugs.gnu.org; Mon, 19 Nov 2018 03:34:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <gnu@HIDDEN>) id 1gOf0X-0007lj-Rx for bug-diffutils@HIDDEN; Mon, 19 Nov 2018 03:34:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <gnu@HIDDEN>) id 1gOf0T-0001fV-UC for bug-diffutils@HIDDEN; Mon, 19 Nov 2018 03:34:13 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:39996 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <gnu@HIDDEN>) id 1gOf0T-0001ek-Lb for bug-diffutils@HIDDEN; Mon, 19 Nov 2018 03:34:09 -0500 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id wAJ8Y5xr046680 for <bug-diffutils@HIDDEN>; Mon, 19 Nov 2018 00:34:07 -0800 Message-ID: <5BF2757D.90607@HIDDEN> Date: Mon, 19 Nov 2018 00:34:05 -0800 From: L A Walsh <gnu@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -6.0 (------) (Reposting on correct list): I was doing a "diff -rq ./src ./dev to find areas of 'dev' that hadn't been rolled into src when I realized some patches had gone into src directly. Rather than just telling me files "differed", it really would be useful, sometimes, to know which of two files under a recursive tree-diff was newer, older or had the same last mtime. Is there a switch for this in diff that would accomplish this, or does this fall into an RFE? Thanks! -linda I.e. some examples: currently: > diff -rwq ~/{,w}bin -x RCS -x orig >/tmp/diffs 1) Files bin/dtlog and wbin/dtlog differ 2) Only in bin: dtlog.save For case '1' maybe something like --when-diff=cmp-mtimes,show-relative showing output like: file1-mtime < file2=mtime or --when-same=cmp-owners showing something like: file1-owner: root file2-owner: daemon
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: L A Walsh <gnu@HIDDEN> Subject: bug#33427: Acknowledgement (question or RFE on diff -r handling non-same files: show new/older when they "differ") Message-ID: <handler.33427.B.154261646319043.ack <at> debbugs.gnu.org> References: <5BF2757D.90607@HIDDEN> X-Gnu-PR-Message: ack 33427 X-Gnu-PR-Package: diffutils Reply-To: 33427 <at> debbugs.gnu.org Date: Mon, 19 Nov 2018 08:35:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-diffutils@HIDDEN If you wish to submit further information on this problem, please send it to 33427 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 33427: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33427 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.