4 ms·
Let me know when it's posix compliant.
by milin 8y ago
Let me know when it's posix compliant.
- j605 8y agoProbably never. Just use a shebang for scripts,they exist for a reason.
- kurtisc 8y agoAs soon as your bash scripts run with /bin/sh. You can still have bash installed and anything that requires significant scripting could probably be done easier with a language for scripting. I want my shell for my terminal. This is also the reason I don't like the verbosity of Powershell, however much an OOP paradigm better supports scripting.
- naniwaduni 8y agoYou can write scripts in the semantics-preserving common subset of POSIX sh and bash, which is not quite, but close to exactly POSIX sh. It's a widely-touted meme that scripting is more easily done in a general-purpose language than in a shell, but this is mostly true of the (common!) category of tasks which use the shell to launch sed &c. to perform string processing which is built-in in general-purpose languages. It's comparatively hard (i.e. verbose and error-prone) to replace a shell language with a general-purpose language in its core competence, viz. launching processes, muxing I/O, and coordinating parallel processing.