| Portability for shell scripts is over rated in 2022. If your shell scripts are small, it's easy to write several versions of them. It they are long, you should use something else than shell scripts for your program, like python. Worse case scenario, provision the same interpretter everywhere, vendor it, or use a compiled language. There are some edge cases where portability makes sense (e.g: you are scripting for an heterogeneous parc of routers), but they are niche usages most companies don't care about. |