GNU bug report logs - #25707
[PATCH] grep: don't forcefully strip carriage returns

Previous Next

Package: grep;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Mon, 13 Feb 2017 19:25:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 25707 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Eric Blake <eblake <at> redhat.com>
Cc: 25707 <at> debbugs.gnu.org
Subject: Re: bug#25707: [PATCH] grep: don't forcefully strip carriage returns
Date: Thu, 16 Feb 2017 09:45:43 -0800
On 02/16/2017 09:26 AM, Eli Zaretskii wrote:
> It seems to me that when one bumps into some code which looks
> incorrect or less than optimal, and one considers its replacement with
> a more clever code,

No, that's not it. The idea was to simplify maintenance for the GNU 
case, perhaps at some cost to MS-Windows users, but they are lower 
priority so it is OK. The MS-Windows code was a mess because the two 
forms of auto binary-file detection could not work in combination; this 
was because one of the two forms was contributed later and without 
regard to MS-Windows. Perhaps the MS-Windows port could be improved 
without undue hassle to the GNU code, although that would require 
someone with MS-Windows expertise and enough free time to do it. Failing 
that, I suppose MS-Windows users can use -a and -U if they run into 
trouble, so it's not that big a deal.





This bug report was last modified 5 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.