bug-grep
[Top][All Lists]
Advanced

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

bug#18987: the bourne shell printf-vs-\xHH portability trap


From: Paul Eggert
Subject: bug#18987: the bourne shell printf-vs-\xHH portability trap
Date: Sun, 09 Nov 2014 12:04:56 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Jim Meyering wrote:
I tried it, and found that this new function makes the multibyte-white-space
test fail with GNU sed.

Yes, and the more I look at it the less I like it. I'm afraid I'm now going back to the idea that we should just use octal. This outputting-hex business is more trouble than it's worth. What happens with the current code, for example, when one of the printfs fail? No error is reported. If we just used octal it'd all be saner.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]