While I am not new to UX, I currently use ZSH only interactive and for some very small scripts. During my current build of a longer ZFS backup script, I found some unexpected behaviour of the ZSH - which are in the end total correct if you understand how ZSH extend/expanse/match etc. variables.
Also I missed some C standard functions for string handling (like left, right etc.).
When I was looking for learning sources, I often find most of the scripts are using the Bourne Shell (sh); while I have some difficulties to find sources for zsh ( seems it is often only used for interactive use) .
So I wonder if I could get some reasonable advices if I should use sh in the future for scripting or stay with zsh. Staying with zsh would have the advantage , that I only need to learn one syntax - even when there are not a lot scripting tutorials/examples available. What do you think ?
Also I missed some C standard functions for string handling (like left, right etc.).
When I was looking for learning sources, I often find most of the scripts are using the Bourne Shell (sh); while I have some difficulties to find sources for zsh ( seems it is often only used for interactive use) .
So I wonder if I could get some reasonable advices if I should use sh in the future for scripting or stay with zsh. Staying with zsh would have the advantage , that I only need to learn one syntax - even when there are not a lot scripting tutorials/examples available. What do you think ?