• dan@upvote.au
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 年前

    still do the scripting in Bash for portability reasons,

    For what it’s worth, Debian and most of its derivatives use dash (a Linux port of ash) instead of bash for /bin/sh. It’s ~4x faster and uses much less RAM than Bash. Usually the only scripts that use Bash are scripts that aren’t POSIX compliant or that use Bash-specific features.