7 ms·
> Also what can bash do that zsh can’t? I have noticed that a lot of the features listed in https://www.gnu.org/software/bash/manual/bash.html#Major-Difference
by ti_ranger 6y ago
> Also what can bash do that zsh can’t?
I have noticed that a lot of the features listed in https://www.gnu.org/software/bash/manual/bash.html#Major-Differences-From-The-Bourne-Shell https://www.gnu.org/software/bash/manual/bash.html#Major-Dif... aren't present in zsh, but I am not sure of all the ones that aren't in zsh.
Ones that I have used in bash that aren't in zsh (there may be many more, I stopped using zsh in many scenarios because of some of these):
* Some of https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion https://www.gnu.org/software/bash/manual/bash.html#Shell-Par... (e.g at least ${LOGNAME^^}, `(FOO=BAR;echo ${FOO,,})`)
* -p option to read for the prompt, e.g. `read -s -p "Enter the DB password: " PW`