bug-gnu-utils
[Top][All Lists]
Advanced

[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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]