• @flashgnash@lemm.ee
      link
      fedilink
      27 months ago

      I use fish, have never once written a fish script. Just write bash scripts and they tend to work fine, otherwise run em in bash

    • @dan@upvote.au
      link
      fedilink
      2
      edit-2
      7 months ago

      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.