"brian m. carlson" <sandals@xxxxxxxxxxxxxxxxxxxx> writes: > We already have precedent for this in core.quotePath and could easily > use similar logic here. That format, while using octal, which I find > ugly and hard to read, does have the pleasant side effect that it works > correctly with POSIX printf(1) (which I'm sure was intentional), unlike > hex escapes. It was intended to be "the normal C quoting": https://lore.kernel.org/git/87ek6s0w34.fsf@xxxxxxxxxxxxxxxxxxx/