5 ms·
>Too many subtle differences. Such as?
by oguz-ismail2 8mo ago
>Too many subtle differences.
Such as?
- hiccuphippo 8mo agoThis entire list: https://www.shellcheck.net/wiki/ https://www.shellcheck.net/wiki/
- oguz-ismail2 8mo agoHow is any of that a subtle difference between platforms?
- greener_grass 8mo agoThe tools you will call from your bash script differ in subtle ways between Linux, macOS, MinGW. One good example is `uuidgen`
- oguz-ismail2 8mo ago>uuidgen That's neither a standard CLI utility nor a bash builtin.
- greener_grass 8mo agoTechnically maybe, I don't know. But in practice, your bash will use tools like this and break if they are different / missing on a future build host. If using a programming language with locked-down package dependencies, then all you need is the compiler/interpreter and your script will work.