On Tue 2025-05-20 20:03:47 +0200, Jakub Wilk wrote:
> * Daniel Kahn Gillmor <[email protected]>, 2025-05-20 13:20:
>>0 dkg@bob:~$ posh -c "printf '\xd5'" | hd
>
> FWIW, printf is not a builtin in posh:
>
> $ posh -c 'printf --version | head -1'
> printf (GNU coreutils) 9.1
Ah, thanks for that clarification. At any rate, I can work around what
i was trying to do by using octal escape sequences, which are mandatory
in POSIX shell, and supported by all the printf implementations i've
looked at. But hex escape sequences are much nicer and very widely
supported, so it would be nice if dash could support them too.
--dkg