Our opinions differ here. I only sanity check when the input could be exploited in some malicious way or severely break the internal logic of my script. In this case, neither scenario can occur-- the worst case is you get some invalid script lines detected as aliases. I write my scripts using DbC, and, in most cases, the pre-condition for all my scripts is "well formed input". As I said, better error checking can be an exercise left to the users of this script.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"