Subject: | RE: First line is cutting off |
Date: | Sat, 7 Jan 2017 13:51:00 +0000 |
To: | "bug-Text-Diff [...] rt.cpan.org" <bug-Text-Diff [...] rt.cpan.org> |
From: | Devharsh Trivedi <devharsh [...] live.in> |
My bad.. just discovered that Text::Diff it is different from python’s difflib module.
It is not showing common strokes but instead showing @@ statements.
Sorry everyone.
Happy weekend.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Devharsh Trivedi<mailto:devharsh@live.in>
Sent: 07 January 2017 07:06 PM
To: bug-Text-Diff@rt.cpan.org<mailto:bug-Text-Diff@rt.cpan.org>
Subject: First line is cutting off
I am comparing two text files and printing delta, and I noticed the first line is cutting off.
Output:
--- 14.log Sat Jan 7 18:59:39 2017
+++ 135.log Sat Jan 7 18:59:30 2017
@@ -3,11 +3,11 @@
00 00 00: force_immed_zrecon_flag : 1
00 00 00: nr_mixes : 1
-00 00 00: total_nr_profiles : 748440
+00 00 00: total_nr_profiles : 1389960
Expected Output:
--- 14.log Sat Jan 7 18:59:39 2017
+++ 135.log Sat Jan 7 18:59:30 2017
@@ -3,11 +3,11 @@
Reconstruction parameters independent of mix, echo and location:
00 00 00: force_immed_zrecon_flag : 1
00 00 00: nr_mixes : 1
-00 00 00: total_nr_profiles : 748440
+00 00 00: total_nr_profiles : 1389960
Line “Reconstruction parameters independent of mix, echo and location:” is present in both lines and it is cutting off in diff file.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10