[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3969) SunOS' diff doesn't like -u

Full_Name: Pierangelo Masarati
Version: any
OS: SunOS 5.8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: ando

in tests/scripts/defines.sh the macro DIFF is defined as 

DIFF="diff -iu"

but (at least) on SunOS 5.8 diff doesn't like the -u option:

bash-2.03$ diff -u
diff: illegal option -- u

I guess -c would be more appropriate, although I really dislike its format;
unified looks much more readable.