While reading the answers of question Can bash write to its own input stream?, I found the following command runs on zsh
but not on bash
:
print -z echo mnciitbhu
1 . Is -z
an extension to the print
command? If yes, how do I define my own extensions?
2 . If not, why is the above command not running in bash
but running in zsh
?