[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] rhs argument of single = in [[ <expression> ]] is also treat
From: |
Chet Ramey |
Subject: |
Re: [PATCH] rhs argument of single = in [[ <expression> ]] is also treated as pattern |
Date: |
Fri, 24 Aug 2012 10:00:52 -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:
> Not sure how savannah reports are followed, so small headups of a thing I
> experienced which probably is a bug. I made small bug report at
> https://savannah.gnu.org/support/?108110 - though obviously the behavior as
> described for '==' is valid (rhs is pattern).
>
> So what I suspected was that [[ <expression> ]] treated both = and == in the
> same way - and this seemed invalid, as for = it should be treated as a normal
> string - in the same way as for [ <expression> ] and test.
`=' 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/
- [PATCH] rhs argument of single = in [[ <expression> ]] is also treated as pattern, Michal Soltys, 2012/08/24
- [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Michal Soltys, 2012/08/24
- Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Chet Ramey, 2012/08/24
- Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Greg Wooledge, 2012/08/24
- Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Chet Ramey, 2012/08/24
- Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Greg Wooledge, 2012/08/24
- Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Michal Soltys, 2012/08/24
- Re: [PATCH 1/1] execute_cmd.c: don't treat rhs of = as pattern in conditional expressions, Chet Ramey, 2012/08/24
Re: [PATCH] rhs argument of single = in [[ <expression> ]] is also treated as pattern,
Chet Ramey <=