On Mon, Jul 31, 2023, 10:32 Chet Ramey <chet.ra...@case.edu> wrote: > On 7/25/23 4:06 PM, Grisha Levit wrote: > > Re latest changes in [1], we need to preserve quoting also for any of > > the following characters, at least if they are in a bracket > > expression: > > ! - . : = ^ > > Why not just quote them all the time and not try to determine whether or > not they're part of a bracket expression? >
I agree, that's a better approach. There's some performance benefit to only preserving quoting that's required but getting this right is tricky and I suspect not worth the increase in code complexity. >