delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/09/23/14:05:13

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 68NI5DbI2146097
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 68NI5DbI2146097
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=uJ3tSJDv
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 816A54BB3BAE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1790186695;
bh=i9VexN/oT2QPERwCln1AnQHjni/j7SNXLjjMGqWGN8M=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=uJ3tSJDv3YFgAKL81JLiK/dbG9EVDDic7GDs1dxeQjV/FSQEtRRaKVncqsXVTfL1D
KjnUh5zB/phyxfb1TbFXWGBBeBEy/BxSKkmM96qg/y2ZCooMerPLsPJ1PBVS2iIC0V
KoXjzA8RMzJ2klxUC6AqCN64lgyhiGBEDZXp0kZQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 654504BB3B96
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 654504BB3B96
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790186677; cv=none;
b=YZVx1p3V1XxbwhEJal/na9UHy96yAVPOR5b9saIP30tZAiQ9z6zF4O2rgdyvVtiySGFfxFTP7YV4ThD61URohQ1F5nQxQtFXjkQ6leaJGg4t7iD+fgAFKTs4kUbQ6N/UWXpphXdZCniQjkeolAvIazjsNoNC8/Moi+6qEwj5BIA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1790186677; c=relaxed/simple;
bh=mSdonn0oBh4qH1VTYEyg874JuptgPe8bgVOckoXqI4E=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=dwVmZO7CM+TUFuuE4wIF0wkgg3ljwQE0kCNdrBMAlnuCferj8IhisOZYlESSzOvSQrN/azloFmW8PtBVz4McvTbWtqz/5jGzDsDD4bMIUFvrzzRlIuO0aa+mkTTvjEHkPZIW4uqMjFb4dFc3bJen9MUBL9rsL/V1tIHRa5BtBYE=
ARC-Authentication-Results: i=1; sourceware.org;
dkim=pass (1024-bit key, unprotected)
header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail
header.b=sk4f1oBC
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 654504BB3B96
X-Yandex-Fwd: 1
Date: Wed, 23 Sep 2026 20:51:54 +0300
X-Mailer: The Bat! (v11.4.3) Home
Message-ID: <758866248.20260923205154@yandex.ru>
To: Bloodaxe <bloodaxe AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: diffutils: -iBZ fails to ignore trailing ASCII spaces on
Unix-encoded files in Cygwin
In-Reply-To: <CAMozKyvXyxHz-FdRmzX_nwXUsyUUrnXDpVJ2iBMqk4CMN+iiYA@mail.gmail.com>
References: <CAMozKyt24TTHXz7SjX5qQQJjX1_gh7x+uRASvg6+ZzG2AsQ_=w AT mail DOT gmail DOT com>
<CAMozKyvUd8zYhF2-ZRzMnHtCF=iv7EyACZ1s1+F4MuGerkGd7Q AT mail DOT gmail DOT com>
<CAMozKyvXyxHz-FdRmzX_nwXUsyUUrnXDpVJ2iBMqk4CMN+iiYA AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Bloodaxe!

> Another quick update regarding diff -iBZ:
> LANG=en_US.UTF-8
> also fails. I wrongly stated in my previous message that it worked.

Do you have the locales' files generated?
I've seen quite a bit of mystery behavior like this, and in all cases it was
down to running locale-gen with appropriate options.
Wonder if that's the same issue?

$ diff -iBZ sdffsdf sdffsdg
[0]
$ LC_COLLATE= LANG= diff -iBZ sdffsdf sdffsdg
[0]
$ cmp sdffsdf sdffsdg
sdffsdf sdffsdg differ: byte 12, line 1
[1]

The difference is in that single space before LF.


-- 
With best regards,
Andrey Repin
Wednesday, September 23, 2026 20:43:51

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026