Open jyn514 opened 4 years ago
Yup let
is just a synonym for (( LHS = expr ))
... It's low priority since the the rewrite is trivial, and so far I only ran into it in bash-completion
. But it would be pretty easy to implement in any case.
over time we can adjust this: https://github.com/oilshell/oil/wiki/What-Is-Expected-to-Run-Under-OSH
I found this because I ran into an infinite loop in bash_completion (the original, not the osh fork)!
The original code was
It looks like this should be the same as
$(( ))
but without then evaluating the result?