Unix系统:错误信息、设计理念与文档困境
1. Unix的错误玩笑
Unix系统的错误信息常常令人啼笑皆非,有人甚至将其当作笑话发布。以下是一些在C shell和Bourne shell中出现的有趣错误示例:
C shell错误示例:
| 输入命令 | 错误信息 |
| — | — |
|% rm meese-ethics|rm: meese-ethics nonexistent|
|% ar m God|ar: God does not exist|
|% "How would you rate Dan Quayle's incompetence?|Unmatched ".|
|% ^How did the sex change^ operation go?|Modifier failed.|
|% If I had a ( for every $ the Congress spent, what would I have?|Too many ('s.|
|% make love|Make: Don't know how to make love. Stop.|
|