From mboxrd@z Thu Jan 1 00:00:00 1970 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes From: "Andrej Borsenkow" To: "Peter Stephenson" , "Zsh hackers list" Subject: RE: PATCH: suggestion for new condition Date: Mon, 25 Jan 1999 15:50:06 +0300 Message-ID: <001a01be4861$3b8b8720$21c9ca95@mowp.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <9901251057.AA75928@ibmth.df.unipi.it> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Importance: Normal X-Mailing-List: 4982 > > I worry a little, too, (though it maybe groundless) that overloading > conditions in the basic shell will cause unexpected results with > existing tests that ought to work, e.g. things like [[ -v = -v ]] --- What I think about, may be, quoting can be of some help here. That is, -v is condition, but \-v or '-v' or "-v" should be interpreted as plain string? I never used unquoted strings, even if it is quite legal. "str" simply looks better :-) Others may have own preferences, though ... /andrej