Subject: Re: [bug-diffutils] bug#72274: option to ignore leading white space

From: Vincent Lefevre <[email-masked]>
Date: Wed, 24 Jul 2024 22:21:50 +0200

On 2024-07-24 21:47:02 +0200, Eric Deplagne wrote:
>   diff -w might be your friend.
> 
>   $ diff -wus <(printf "ab cd\n") <(printf " ab  cd \n")
>   Les fichiers /dev/fd/63 et /dev/fd/62 sont identiques

But this one is wrong:

$ diff -wus <(printf "ab cd\n") <(printf " abcd \n")
Files /proc/self/fd/11 and /proc/self/fd/14 are identical

-- 
Vincent Lefèvre <[email-masked]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)