[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch: do not emit trailing blanks in context header
From: |
Jim Meyering |
Subject: |
Re: patch: do not emit trailing blanks in context header |
Date: |
Tue, 05 Sep 2006 16:30:58 +0200 |
Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>
>> * src/context.c (print_context_function): Do not print
>> trailing white space in a context header.
>
> Thanks, I applied that.
>
> It's too bad diff -c is required by POSIX to output trailing spaces
> when a changed line is empty, but it's too late to change that.
Do you mean that you *can* fix it for diff -u ?
That'd be nice.
$ diff -u <(printf 'a\n\nb\n') <(printf 'a\n\nc\n')|grep -l ' $'
(standard input)
- patch: do not emit trailing blanks in context header, Jim Meyering, 2006/09/04
- Re: patch: do not emit trailing blanks in context header, Paul Eggert, 2006/09/05
- Re: patch: do not emit trailing blanks in context header,
Jim Meyering <=
- Re: patch: do not emit trailing blanks in context header, Paul Eggert, 2006/09/05
- Re: patch: do not emit trailing blanks in context header, Jim Meyering, 2006/09/05
- Re: patch: do not emit trailing blanks in context header, Chuck Swiger, 2006/09/05
- Re: patch: do not emit trailing blanks in context header, Paul Eggert, 2006/09/05
- Re: patch: do not emit trailing blanks in context header, Jim Meyering, 2006/09/06