• SavvyBeardedFish@reddthat.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    Feel like most people still do the scripting in Bash for portability reasons, and then just run Fish as the interactive shell

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      9 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
      arrow-up
      2
      ·
      edit-2
      9 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.