Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
string equal problem
- X-seq: zsh-users 15834
- From: Lyre <4179e1@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: string equal problem
- Date: Mon, 7 Mar 2011 17:04:48 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=EeEAC5f7yW65QCWEXiveKvH5Lu25g+8R8yjwLFaQRps=; b=ajQ+c18k8ZbF0nMEwbaG4oWGjflI/+Bg4oXkU0CYwZLFdJArkYcMkPHUPJfJdqqj+A lmPon158ZHulcYH5scY1oj0ax02zYy/ouJm2nf4UKJNtx1MdugLUZqMS3FtYPWpiQ2ky ykPZEZVoGazg6DC9utjEvJWNbRfWVQ8Lb0Qec=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Wge0pMOXHqTamDeJc33Ku37XoWgrlgbRo4NtX+Gj8m6cpQYN3CrXVnKaNiJuY6m81M XDJXqCAm5Q2h0bmXLtl+S199p5KhYZAff2P9pO5LAiMjSHTGtrgGlgNwXXFYLFDoCl6P 7QsJXy/UkCaMf9xnKQnbAVFtT1z876xZFjD7c=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
To my surprise,the following statment:
if [ "abc" == "def" ]; then echo y; else echo n; fi
doesn't work, it says "zsh: = not found".
Then I tried it in several version of zsh (4.3.x) on different distribution.
All of them doesn't work, except the zsh 4.2.0 on sles9.
What's the problem with it, is there something wrong in my configuration?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author