3 ms·
For me no, but I think it depends a lot on the experience of the developer and the language it is using. And environment variable is more common knowledge, it's
by mrighele 5y ago
For me no, but I think it depends a lot on the experience of the developer and the language it is using. And environment variable is more common knowledge, it's cross platform and supported in any decent language. I bet that many don't even know that something like isatty(3) exists.
- zinekeller 5y ago> I bet that many don't even know that something like isatty(3) exists. Also shell scripts can't directly use that.
- messe 5y agoSure, and that's why POSIX provides `test -t`.