On 2/15/21 5:39 PM, Koichi Murase wrote:
2021年2月16日(火) 5:12 Chet Ramey <chet.ra...@case.edu>:
It is unexpected, though the syntax is obscure. I'll fix it.

If this is to be fixed, maybe also the following cases could be
handled better (if the corresponding fixes are not too complicated).

At some point, maybe. They're going to be extremely low priority.

bash -c ': $(case x in esac)'
bash -c ': $(case x in (x) if :; then echo a; fi esac)'
bash -c ': $(case x in (x) a() { echo a; } esac)'
bash -c ': $(case x in (x) for ((i=0;i<10;i++)) { echo a; } esac)'

We've officially hit the point of diminishing returns.

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

Reply via email to