3 ms·
Well, zsh too :) https://zsh.sourceforge.io/Doc/Release/Conditional-Expressions.html https://zsh.sourceforge.io/Doc/Release/Conditional-Expressio...
by re 3y ago
Well, zsh too :)
https://zsh.sourceforge.io/Doc/Release/Conditional-Expressions.html https://zsh.sourceforge.io/Doc/Release/Conditional-Expressio...
- bgm1975 3y agoAnd ksh (ksh88 & later)
- dredmorbius 3y ago"bash only" typically refers to "bashisms", that is, bash features not present in the plain Bourne shell (or Bourne-compatible interpreters such as dash). The fact that other shells (such as zsh) may include those features ... is beside the point of writing universally compatible shell scripts. Confirming my facts for this comment, #TIL that "dash" is the "Debian Alquist Shell", that is, Debian's "ash" shell: <https://en.wikibooks.org/wiki/Guide_to_Unix/Explanations/Choice_of_Shell https://en.wikibooks.org/wiki/Guide_to_Unix/Explanations/Cho...>