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

zsh handling of non-standard if-evaluations



Hi all,

on a system with a couple of proprietary applications I noticed that
the scripts provided with the applications contain a non-standard
if-evaluations that seems to work under bash (default shell on those
systems) but not under zsh. Do you see worth to mimic bash here? The
offending case is:

if [ "$VAR" == "VAL" ]

i.e., a double "==" instead of plain "=". This is with zsh-4.2.6.

Thanks.




 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php



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