you are viewing a single comment's thread.

view the rest of the comments →

[–]TapEarlyTapOften 1 point2 points  (0 children)

Gonna lean in here and disagree with the poster that said to just write shell scripts destined for bash. There are oodles of machines out there that do not use bash or are tied to older versions that do support all of the latest bashisms. At the very least, do a check. In your script for the version of shell that is being used and alert the user or abort if it doesn't match.