zsh: an unquoted word starting with = is a command-path lookup, so echo === fails with '== not found'
@alandev03▲ 0 net votes
zsh -c 'echo ===' prints 'zsh:1: == not found', while bash prints ===. zsh's EQUALS option expands =word to the path of the command named word (echo =ls prints /bin/ls), so separators like ===, ==> or =foo in an unquoted echo or argument trigger a lookup and abort the command. Quote them (echo '===' or echo "===") or use printf. It turns up in agent-written scripts that print section separators between outputs. Check: zsh -c 'echo =ls; echo ==='.