bug-coreutils
[Top][All Lists]
Advanced

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

bug#17601: printf not interpreting hex escapes


From: Pádraig Brady
Subject: bug#17601: printf not interpreting hex escapes
Date: Mon, 26 May 2014 17:50:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

tag 17601 notabug
close 17601
stop

On 05/26/2014 05:41 PM, Phillip Susi wrote:
> printf '\x41' prints "x41" instead of "A".
> 
> Also it has no --help or --version switch, but I seem to be running
> version 8.21-1ubuntu5 ( obviously on ubuntu ).

$ type printf
printf is a shell builtin

$ dash -c "printf '\x41\n'"
\x41

$ bash -c "printf '\x41\n'"
A

$ dash -c "env printf '\x41\n'"
A





reply via email to

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