Diff shows simple output like "File a and b differs"

Hi guys

I am new to Solaris, i am using Solaris 9 9/05 s9s_u8wos_05 SPARC.

In Linux diff, i have a switch --brief, the output will tell me with a single line whether the files differ. I do not need to know exactly which line differs.

Can i do something like that with Solaris?

I've check the man pages and google, but no luck at all.

Kinda URGENT...

Thanks guys.

[407 byte] By [jinchurikia] at [2007-11-27 0:24:40]
# 1
$ diff a b >/dev/null 2>&1 && echo no differenceThis redirects output & errors to the bit bucket, and onlydoes the echo if the diff returned 0 (for successfulexit, ie, no difference).
kidari..a at 2007-7-11 22:21:46 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...