GNU bug report logs - #17601
printf not interpreting hex escapes

Previous Next

Package: coreutils;

Reported by: Phillip Susi <psusi <at> ubuntu.com>

Date: Mon, 26 May 2014 16:43:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17601 in the body.
You can then email your comments to 17601 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#17601; Package coreutils. (Mon, 26 May 2014 16:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Phillip Susi <psusi <at> ubuntu.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 26 May 2014 16:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Phillip Susi <psusi <at> ubuntu.com>
To: bug-coreutils <at> gnu.org
Subject: printf not interpreting hex escapes
Date: Mon, 26 May 2014 12:41:55 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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 ).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTg27TAAoJEI5FoCIzSKrwcTAH/1zFzoplzkWtkhNFilJr+2aX
pwHqEhtTI1V1zolTE72R8fKn52XoXaR2LXTBUZdf170r4vmlSKCbb/dzZSbaLRLr
VHsDGn4lhr/kgQfQKx1hX5/K90w/VwnKTxmJiQ02by6kF/c78wT1x0J7BGP1i+34
jJWOkqRwckFoGyYXJP4s0W+Mr7leNMU9KWXG4NdjKBUQepBJxdK06c9DRxrUy/+M
ZkqUwcfQpdx7S6UASjD4c15Eg/fb3hEXLOYsmIzz1G+iS4Zac6u9PRRnhgJj/dlW
NH6YZcdaSrqSQ6P13fDODE9nU8X8Fwy5nQx3MpBT36+ptb2ewL35DaKDIr1eSw8=
=Cr+I
-----END PGP SIGNATURE-----




Information forwarded to bug-coreutils <at> gnu.org:
bug#17601; Package coreutils. (Mon, 26 May 2014 16:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 17601 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Phillip Susi <psusi <at> ubuntu.com>
Cc: 17601 <at> debbugs.gnu.org
Subject: Re: bug#17601: printf not interpreting hex escapes
Date: Mon, 26 May 2014 17:50:51 +0100
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




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 26 May 2014 16:52:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 17601 <at> debbugs.gnu.org and Phillip Susi <psusi <at> ubuntu.com> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 26 May 2014 16:52:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#17601; Package coreutils. (Mon, 26 May 2014 17:35:01 GMT) Full text and rfc822 format available.

Message #15 received at 17601 <at> debbugs.gnu.org (full text, mbox):

From: Phillip Susi <psusi <at> ubuntu.com>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 17601 <at> debbugs.gnu.org
Subject: Re: bug#17601: printf not interpreting hex escapes
Date: Mon, 26 May 2014 13:34:04 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 05/26/2014 12:50 PM, Pádraig Brady wrote:
> $ type printf printf is a shell builtin

Of course, darn builtins!  Sorry for the noise.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTg3sMAAoJEI5FoCIzSKrwP80H+QH46DNMtO7DJalEa1UQrpXL
xadU4ahdEtD4VUvqEcOX6LFDmmKgqAHAOnvQyT9rojAysv+EzTvxZ9Ni4ebI7pqE
BFiE0j3k55qsTxN92ZyhKE5WZt+CYEp2vaHSyrRsWbztOss2Mh0xCI0eGJfIEGSa
fmJFIBxz92ZU0xR6NPC+obA/8GJb6St6pJLQGomRskbNrpB5GaJOn5Jdrg3dMCQI
XVpSJp42acZ0Ivb+aplQXoZrujfzlGzhcUOoRtx8FQdCmshWMYNeV8+HV0zqNoVd
TYpBnqbdJXg2eS7caL7Wd0HxwGXAheYDjr9qebb8nDLnhzG+KXpZoYLlfinKcXs=
=dH7q
-----END PGP SIGNATURE-----




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Jun 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.