A workaround right now for those affected is to remove quotes.
The syntax doesnāt make it clear whether the value is expected to be treated as a Bash expression or as a raw value ā so Iām not sure what the āintuitiveā behavior would be.
FWIW, removing quotes does not restore the old behavior. Tried it in https://github.com/nipy/nibabel/pull/895, and variables with spaces were not set correctly.
Iām not sure you need to catch every corner caseā¦ People are motivated to find a way to get the strings they want into their variables. Unless youāre worried about some kind of code injection, I would be inclined to let things like that fail.
Iām not personally invested in the quote syntax (apart from the time Iāll have to spend if we move away from the old style), just as long as I can get spaces and interpolate previously-defined variables. Iād rather not have to escape spaces, but if thatās whatās required, so be it.