this pair of files shows one line of difference with diff -wB and two
with diff -uwB

is this expected?

$ ./show
+ cat -vet a
    $
    a$
    b$
  $
+ cat -vet b
    a$
$
+ diff -wB a b
3d1
<     b
+ diff -uwB a b
--- a 2025-04-04 17:41:34.684282476 -0400
+++ b 2025-04-04 17:42:13.171166665 -0400
@@ -1,4 +1,2 @@
-
     a
-    b

+ diff --version
+ sed q
diff (GNU diffutils) 3.11
$
-- 
Aaron Davies
aaron.dav...@gmail.com



Reply via email to