Feel like most people still do the scripting in Bash for portability reasons, and then just run Fish as the interactive shell
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
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.
Feel like most people still do the scripting in Bash for portability reasons, and then just run Fish as the interactive shell
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
For what it's worth, Debian and most of its derivatives use
dash
(a Linux port ofash
) instead ofbash
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.