3 ms·
Also noteworthy, this post of mine with authoritative text from GNU docs. Read "(Un)Portable Shell Programming" https://news.ycombinator.com/item?id=31678176 h
by gurjeet 4y ago
Also noteworthy, this post of mine with authoritative text from GNU docs. Read "(Un)Portable Shell Programming"
https://news.ycombinator.com/item?id=31678176 https://news.ycombinator.com/item?id=31678176
- interroboink 4y agoOr, as Larry Wall put it, "It is easier to port a shell than a shell script."
- kazinator 4y agoThat was no idle musing; he had in mind a reversal of the situation. He put that into action by making a language so embroiled in its own implementation that cloning a new version would be a pointless exercise in failing to replicate the internal details of the original program. That nicely solved the problem of it being hard to port a script. Then he made it incredibly hard to build. Cross-compiling it wasn't even a thing, and probably still isn't; we just use distro builds that have Qemu.