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.
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.