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

Re: Strange behaviour



On Thu, Mar 30, 2000 at 07:48:00PM +0200, Michael Meskes wrote:
> I usually run my shell with LC_ALL set to de_DE.
Usually using LC_ALL is not a very good idea.  It's better to use LANG, or, if
you want only particular aspects of the program behaviour to be localized,
LC_CTYPE, LC_MESSAGE, LC_TIME, LC_NUMERIC.

> michael@feivel:~$ printf "%1.1f\n" 1
> 1,0
> michael@feivel:~$ unset LC_ALL
> michael@feivel:~$ printf "%1.1f\n" 1
> 1,0
I'd execute `locale' command at this point.

More information about the issue is available as locale(7) (i.e.
`man 7 locale')

--
Mike


Reply to: