printf \xNNN

Padraig Brady <[email protected]> Tue, 05 Nov 2002 10:02:59 +0000
Newsgroups gmane.comp.gnu.sh-utils.bugs
Organization Corvil Networks
Message-ID <[email protected]>
Why the hell does printf take up to 3 hex digits?
What's wrong with 2 (lastest bash just does 2).

$ /usr/bin/printf "\xf73"
s
$ printf "\xf73"
÷3

printf from sh-utils just ignored the first hex digit?

$ rpm -qf `which printf`
sh-utils-2.0.11-14

thanks,
Pádraig.