Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Don't understand why 'EQUALS' option works this way



    Hi all :)

    Why 'print a=1' prints 'a=1' but 'print a==1' prints '1: not
found'? Why the first '=' is allowed but the second is interpreted as
the '=' filename expansion?

    All this happens, of course, only when EQUALS is 'on'.

    Thanks a lot in advance :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/



Messages sorted by: Reverse Date, Date, Thread, Author