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: arnold
Subject: bug#18987: the bourne shell printf-vs-\xHH portability trap
Date: Sat, 08 Nov 2014 12:46:15 -0700
User-agent: Heirloom mailx 12.4 7/29/08

Norihiro Tanaka <address@hidden> wrote:

> Thanks, but it seem that it is also unportable.  On Solaris 10 and AIX 7,
> below.  Need Gawk for tests?
>
> $ awk 'BEGIN { printf "\x41" }' </dev/null
> \x41

If you use octal it should work with any awk.

Arnold





reply via email to

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