On 5/23/07, Sander van Dijk <[EMAIL PROTECTED]> wrote:
As for test being a language contruct: is isn't, or at least wasn't originally. "if" checks what the return value of the call following it is; in case it is zero, it does something, otherwise it does something else.
Of course. But I believe it was a mistake that is now fixed. It just doesn't make sense to call external program for every stupid logical/arithmetic test. These things belong naturally into any language -- shell or full-blown.
