bug-bash
[Top][All Lists]
Advanced

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

Re: unicode aware printf \u and \U switches not supported


From: Roman Rakus
Subject: Re: unicode aware printf \u and \U switches not supported
Date: Tue, 23 Mar 2010 13:53:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.3

On 03/23/2010 03:01 AM, Chet Ramey wrote:
On 3/22/10 9:24 AM, Thomas Bartosik wrote:

Bash Version: 4.0
Patch Level: 35
Release Status: release

Description:
     bash's printf does not understand \u and \U although the man page says it 
supports all expressions that printf(1) supports.
The man page says the bash printf supports the standard printf(1) escape
sequences.  \u and \U are not standard escape sequences.

They are on the list for possible inclusion in a future release.

Chet
Just few links;
Opengroup printf utility specification[1], there is not any note about \u or \U format. Coreutils printf has this extension [2], but there is not any note, from where it comes or what it is specific for.

[1] http://www.opengroup.org/onlinepubs/009695399/utilities/printf.html
[2] http://www.gnu.org/software/coreutils/manual/html_node/printf-invocation.html
RR




reply via email to

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