Joerg Schilling <[email protected]> wrote: > Martin Vaeth <[email protected]> wrote: >> >> This is not true, either: Although finally bash took some of the >> features of zsh (arrays, regular expression matching, etc.) there >> are still many features missing in bash (extended globbing, many >> variable and array operations etc.) > > AFAIK, this was not introduced by zsh but by ksh.
Yes, you are right: To be historically correct, one should call many of them "ksh features". However, fact is that zsh *has* almost all ksh features (with mainly identical syntax) while bash still lacks a lot of them (and for others it has a more cumbersome syntax). This might change in the long run: as mentioned, bash has adopted a lot of ksh/zsh features over the years, but a lot are still missing, and ksh/zsh has evolved meanwhile. For instance, bash now finally has also a completion mechanism which zsh had much longer before. Moreover, my impression is that bash's mechanism is more in the spirit to zsh's first attempt (zshcompctl) while since quite a while zsh has "obsoleted" this mechanism and replaced by a much superior/flexible one (zshcompsys).

