tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: printf(1), sh(1), POSIX.2 and octal escape sequences



On Wed, Jun 28, 2023 at 05:01:46PM +0200, tlaronde%polynum.com@localhost wrote:
> But you can't: from the syntax given, \777 is a perfectly valid \77
> octal sequence followed by the character '7'.

No, from the Posix text you quoted it clearly is a three digit ocatl
sequence, and its value is out of range.

Martin


Home | Main Index | Thread Index | Old Index