bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#34259: --*-line-format results are different from th


From: Peng Yu
Subject: [bug-diffutils] bug#34259: --*-line-format results are different from the default.
Date: Wed, 30 Jan 2019 11:37:57 -0600

Hi,

I'd expect only the new lines from the script2.txt should be printed
in the 2nd command. But somehow what it actually prints is not. The
test files are on the following URL. Could please let me know what is
wrong here? Thanks.

https://filebin.net/4hmuixxixarhfl1b

$  diff script[12].txt |head
186512a186513,186514
> internal_malloc    bb212    329    B>
> internal_malloc    bb212    333    B<
188481,188482d188482
< make_buffered_stream    bb38    60    B>
< make_buffered_stream    bb38    65    B<
189130a189131,189534
> set_line_mbstate    bb37    62    B>
> set_line_mbstate    bb37    66    B<
> set_line_mbstate    bb39    68    B>
$ diff --old-line-format=''  --new-line-format='>%L'
--unchanged-line-format=''  script[12].txt| head
>internal_malloc    bb212    329    B>
>internal_malloc    bb212    333    B<
>buffered_getchar    bb34    47    B>
>buffered_getchar    bb34    55    B<
>buffered_getchar    bb50    65    B>
>buffered_getchar    bb50    85    B<
>buffered_getchar    bb70    87    B>
>buffered_getchar    bb70    89    B<
>buffered_getchar    bb72    91    B>
>buffered_getchar    bb72    92    B<

-- 
Regards,
Peng





reply via email to

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