bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in condit


From: Chet Ramey
Subject: Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions
Date: Fri, 24 Aug 2012 10:01:32 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 8/24/12 8:54 AM, Michal Soltys wrote:
> In case of single '=' operator used in [[ <expression> ]], rhs argument
> was treated as a pattern. Only == and != should treat rhs argument as a
> pattern, so this patch fixes it.

Incorrect; `=' and `==' are identical.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]