GNU bug report logs - #68966
support to fix output from diff command

Previous Next

Package: diffutils;

Reported by: Sumit Kakkar <sumit.23 <at> gmail.com>

Date: Wed, 7 Feb 2024 10:56:01 UTC

Severity: normal

To reply to this bug, email your comments to 68966 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#68966; Package diffutils. (Wed, 07 Feb 2024 10:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sumit Kakkar <sumit.23 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Wed, 07 Feb 2024 10:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sumit Kakkar <sumit.23 <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: support to fix output from diff command
Date: Wed, 7 Feb 2024 12:21:56 +0400
[Message part 1 (text/plain, inline)]
Hi Team,

I am trying to see the difference in 2 files. These 2 files have the same
o/p however the sequence is different. Once i am executing diff, it is
giving me o/p though same o/p available in both files as below.

[cbdivnbl <at> scp-2-scripting(auhenm1) ~]$ diff test1.log test2.log
6,7d5
< AAN2037_FN_BB2       1                    AAN2037_N78_S2C1     UNLOCKED
           DISABLED
< AAN2037_FN_BB2       1                    AAN2037_N78_S2C2     UNLOCKED
           DISABLED
10c8,10
< AAN3278_N_BB2        1                    AAN3278_N41_S2C1     UNLOCKED
           DISABLED
---
> AAN3278_N_BB2        1                    AAN3278_N41_S2C1     UNLOCKED
           DISABLED
> AAN2037_FN_BB2       1                    AAN2037_N78_S2C1     UNLOCKED
           DISABLED
> AAN2037_FN_BB2       1                    AAN2037_N78_S2C2     UNLOCKED
           DISABLED


I am attaching both files so have a look and confirm if this is a bug and
how to fix this.



-- 


Warm Regards,

Sumit Kakkar
[Message part 2 (text/html, inline)]
[test2.log (application/octet-stream, attachment)]
[test1.log (application/octet-stream, attachment)]

Information forwarded to bug-diffutils <at> gnu.org:
bug#68966; Package diffutils. (Thu, 08 Feb 2024 04:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 68966 <at> debbugs.gnu.org (full text, mbox):

From: contact <at> ericdeplagne.fr
To: Sumit Kakkar <sumit.23 <at> gmail.com>
Cc: 68966 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#68966: support to fix output from diff command
Date: Thu, 08 Feb 2024 02:37:38 +0100
  Hi.

  I'm getting that the last line of test1.log has one final space 
instead of two.

On 2024-02-07 09:21, Sumit Kakkar wrote:
> Hi Team,
> 
> I am trying to see the difference in 2 files. These 2 files have the
> same o/p however the sequence is different. Once i am executing diff,
> it is giving me o/p though same o/p available in both files as below.
> 
> [cbdivnbl <at> scp-2-scripting(auhenm1) ~]$ diff test1.log test2.log
> 6,7d5
> < AAN2037_FN_BB2       1                    AAN2037_N78_S2C1
> UNLOCKED             DISABLED
> < AAN2037_FN_BB2       1                    AAN2037_N78_S2C2
> UNLOCKED             DISABLED
> 10c8,10
> < AAN3278_N_BB2        1                    AAN3278_N41_S2C1
> UNLOCKED             DISABLED
> ---
>> AAN3278_N_BB2        1                    AAN3278_N41_S2C1
> UNLOCKED             DISABLED
>> AAN2037_FN_BB2       1                    AAN2037_N78_S2C1
> UNLOCKED             DISABLED
>> AAN2037_FN_BB2       1                    AAN2037_N78_S2C2
> UNLOCKED             DISABLED
> 
> I am attaching both files so have a look and confirm if this is a bug
> and how to fix this.
> 
> --
> 
> Warm Regards,
> 
> Sumit Kakkar




This bug report was last modified 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.