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

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

Is this a bug in GNU diff?


From: Ian Cottam
Subject: Is this a bug in GNU diff?
Date: Tue, 24 Jun 2008 13:58:07 +0100
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

diff --version
diff (GNU diffutils) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.
_________________________
Hi,

Please note attached files.
I think the output from

diff -w -B tt ttt

should be empty. That is, the -B ignores blank lines and the -w ignores whitespace differences within a line.

On my Mac (OS X 10.5.3), I get output from diff (below)


diff -w -B tt ttt
5a6,17
> c                            d
> e f
>     g h
>
>
>
> x
>
>
>
>
>
11,14d22
< c                   d
< ef
< g  h
< x






Thanks
-Ian





--
Ian Cottam
Information Systems Manager
Manchester Interdisciplinary Biocentre &
School of Materials &
School of Chemical Engineering and Analytical Science
The John Garside Building (Room G.002)
The University of Manchester
e: address@hidden
t: 0161 306 5198
m: 07856 849831
http://personalpages.manchester.ac.uk/staff/Ian.Cottam
[Remember: your hard disk *will* fail, it's just a question of when.]


a b









c                   d
ef
g  h
x

a  b




c                            d
e f
    g h



x 












reply via email to

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