3 ms·
Sounds like he won't make that mistake again. This is as good an example of why people should RTFM as any. I'm sympathetic to the notion that cal(1) behaved co
by mkelly 16y ago
Sounds like he won't make that mistake again. This is as good an example of why people should RTFM as any.
I'm sympathetic to the notion that cal(1) behaved counterintuitively, but at the same time, there's no obvious right answer here. Different people have different ideas of what is obvious. I think '08' is obviously an octal number, but that notion isn't necessarily shared by everyone.
The take-away here is to read the docs, run the program, ensure the output is what you expect, then move on.
- mkelly 16y ago(And, I should mention, hopefully my notion that '08' is octal isn't shared by that many people, since '8' can't be part of an octal number...)