最佳答案
在 diff
手册页中,我发现了以下退出值:
0 No differences were found.
1 Differences were found.
>1 An error occurred.
对于不同的错误,在1以上是否有不同的退出值?