I am using the command(diff) on macOS. The document says:
-s --report-identical-files
Causes diff to report files which are the same, which are
otherwise not mentioned.
However, the command always says "files are identical" with -s option.
% echo "aaa" > a.txt
% echo "bbb" > b.txt
% diff -s a.txt b.txt
1c1
< aaa
---
> bbb
Files a.txt and b.txt are identical
Isn't it weird..?
diff (GNU diffutils) 3.10, but can using the defaultApple diff (based on FreeBSD diff), so probably a bug.diffs on my mac and got the issue with/usr/bin/diffwhich isApple diff (based on FreeBSD diff)