On 7/9/25 11:36 AM, Chet Ramey wrote:
It's clear that the problem here is this internal quoting not being removed
at the appropriate time. I'm just not sure what to do about it yet.
I figured out why this wasn't happening for `[' and `]' (and, under some
circumstances, `~'), and fixed it. The
On 7/1/25 2:50 PM, Zachary Santer wrote:
On the other hand, there's no expectation that this should work:
$ op='||'
$ [[ ${var_is_unset} == 'true' ${op} ${var} == 'foo' ]]
and it doesn't, whereas
$ var_is_unset=1
$ unset var
$ op='||'
$ (( var_is_unset ${op} var > 0 ))
does currently work, 'set
On 6/30/25 5:06 AM, Isabella Bosia wrote:
this causes a parser error since commit 35bc7025
a=(0 1 2)
b=(0 1 2)
x=0
((i=$x,a[b[i]]))
using $ anywhere in (( )) makes subscripts not expandable
I pushed a fix for this to the devel branch today.
--
``The lyf so short, the craft so long to lerne.