In my zsh script, I had a line
echo some text ================================
To my surprise, an error message was issued for this line:
zsh: =============================== not found
While experimenting with the command line, I found that the shell gets frustrated when there is an equal sign:
$ echo =z zsh: z not found
But here we have:
$ echo =echo /usr/bin/echo
From this observation, he looks as if
=XXX
will be interpreted as
$(which XXX)
However, I did not find anything about this "replacement" in the zsh man page. Where is this magic described?
source share