Post At2grWLk6BPF2oPGIC by taylan@fedi.feministwiki.org
 (DIR) More posts by taylan@fedi.feministwiki.org
 (DIR) Post #AszJiqr1c4ulc03X2O by koakuma@uwu.social
       2025-04-10T18:51:12Z
       
       0 likes, 0 repeats
       
       So what's a good diff viewer that doesn't choke when told to compare a couple ~20 MiB filesLooking for something in the style of meld or vimdiff
       
 (DIR) Post #AszJireedYc65vHAOW by SuperDicq@minidisc.tokyo
       2025-04-11T17:14:30.429Z
       
       1 likes, 0 repeats
       
       @koakuma@uwu.social GNU diffutils?
       
 (DIR) Post #AszJizLo1WI1xmWE7s by koakuma@uwu.social
       2025-04-11T17:04:21Z
       
       0 likes, 0 repeats
       
       A followup: is there a diff viewer that can show you occurences of a term, but only if said term is in a changed part?#AskFedi
       
 (DIR) Post #AszJj6untnRbQLwm9I by koakuma@uwu.social
       2025-04-11T17:07:09Z
       
       0 likes, 0 repeats
       
       Like e.g in this snippet if I search for `ldub` it'll match *only* the `ldub  [ %i1 ], %i1` lines, not the others
       
 (DIR) Post #AszJxBTLkhClc0og3k by SuperDicq@minidisc.tokyo
       2025-04-11T17:17:08.140Z
       
       0 likes, 0 repeats
       
       @koakuma@uwu.social For optimal viewing experience you can just pipe diff into less diff foo.txt bar.txt | less. I would recommend doing that.
       
 (DIR) Post #At05uMdcZsEzAmLFxY by koakuma@uwu.social
       2025-04-12T01:37:32Z
       
       0 likes, 0 repeats
       
       @SuperDicq `diff` can visualize as side-by-side comparison with color highlighting? :cirnothinking:
       
 (DIR) Post #At2grWLk6BPF2oPGIC by taylan@fedi.feministwiki.org
       2025-04-12T15:05:31.654783Z
       
       0 likes, 0 repeats
       
       @Suiseiseki @SuperDicq @koakuma Don't forget --suppress-common (can be shortened to --suppress-c). Also, --side-by-side has a shorthand version: -yIn summary:diff -y --suppress-c --color file1 file2However, some brief testing seems to indicate that --color makes no difference in the side-by-side mode of operation. It doesn't seem to use color. Unfortunate.
       
 (DIR) Post #At2grXJIWl2q1WGp7Y by Suiseiseki@freesoftwareextremist.com
       2025-04-13T08:17:58.212959Z
       
       0 likes, 0 repeats
       
       @taylan @SuperDicq @koakuma Your terminal emulator is incorrectly configured - you'll need to pass --color=always to get colour.