2 ms·
Man, I've tried to write POSIX-compatible scripts for a long time - twice as long as I'd probably have taken using bash features (using Python I'd probably have
by solarkraft 3y ago
Man, I've tried to write POSIX-compatible scripts for a long time - twice as long as I'd probably have taken using bash features (using Python I'd probably have taken 1/10th of the time and it'd be way more maintainable now).
- kevin_thibedeau 3y agoThis is being done in the name of Solaris compatibility (why?) so you don't even get to use POSIX shell since it isn't in /bin/sh on that OS.
- pepa65 3y agoPython is in no way better maintainable than bash. If you'd used Python, most of your scripts would be broken right now. With bash, that just doesn't happen (to that extent).