Michael Meskes <[EMAIL PROTECTED]> writes: > I usually run my shell with LC_ALL set to de_DE. Calling 'printf "%1.1f\n" 1' > then gives me 1,0 which is the correct answer under the german locale. > > Now I unset LC_ALL to get the command to print 1.0 but wasn't able > to.
printf is a bash builtin. bash only evaluates the locale on startup. -- Robbe