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