On 31/03/2024 02:16, Grisha Levit wrote:
If a string starts with a sequence that requires $'' quoting followed by a \' and then another charactrer requiring $'' quoting, the '$' at the start of the quoted string ends up missing:$ env printf '%q\n' $'\1\'\2' '\001'\'''$'\002'
Indeed that is a bug. I'll be able to have a look at this tomorrow. cheers, Pádraig