Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15151

Re: built-in printf %f parameter format depend on LC_NUMERIC

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: built-in printf %f parameter format depend on LC_NUMERIC
Date 2019-07-12 16:45 -0400
Message-ID <mailman.1064.1562964365.2688.bug-bash@gnu.org> (permalink)
References (6 earlier) <4dde13d8-dc42-52b5-bc15-e5390f6d7ec5@archlinux.org> <a048b783-79c0-24fe-d456-deea9a50a149@case.edu> <51bed6f0-eeb8-c93b-33e7-6ccaf4d73b3f@blastwave.org> <e86fb996-9879-616f-948c-758d6cc6ab79@inlv.org> <8f35d89c-da3c-661a-c1d5-b9c70ace6196@case.edu>

Show all headers | View raw


On 7/12/19 4:26 PM, Martijn Dekker wrote:
> Op 12-07-19 om 21:46 schreef Dennis Clarke:
>> Well the man page for XPG6 bc in Solaris 10 claims :
>>
>> ENVIRONMENT VARIABLES
>>       See environ(5) for descriptions of the following environment
>>       variables  that  affect  the  execution of bc: LANG, LC_ALL,
>>       LC_CTYPE, LC_MESSAGES, and NLSPATH.
>>
>> Really?
> 
> Note the absence of LC_NUMERIC in that paragraph.

Yeah, but LC_ALL overrides LC_NUMERIC anyway.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: built-in printf %f parameter format depend on LC_NUMERIC Chet Ramey <chet.ramey@case.edu> - 2019-07-12 16:45 -0400

csiph-web