Let's normalize using python instead of bash
Depends on how long you want the script/program to be usable. Try running a twenty year old BASH script versus a python programme on a new ARM or RISC-V chip. Or, try running BASH/python on some ancient AIX hardware.
I can still run old python fine, as much as old bash scripts. I often have to edit bash scripts written by others to make it run on my mac.