El día Friday, August 19, 2016 a las 10:08:03AM +0200, Matthias Apitz escribió:

> El día Friday, August 19, 2016 a las 06:00:46PM +1000, Erik Christiansen 
> escribió:
> 
> > On 19.08.16 07:39, Matthias Apitz wrote:
> > > If I unset it in ~/.muttrc and run
> > > 
> > > $ LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 mutt
> > > 
> > > it gives the month name as 'Aug', which is not correct.
> > 
> > Try:
> > 
> > $ export LANG=...
> 
> $ export LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 
> $ env | egrep 'LANG|LC_'
> LC_ALL=es_ES.UTF-8
> LC_COLLATE=C
> LANG=es_ES.UTF-8
> LC_TIME=es_ES.UTF-8
> $ mutt
> 
> gives 'Aug' too as month name;

Ofc, it must be the same, because:

$ BLA=foo env | fgrep BLA
BLA=foo

i.e. setting a variable on the command line before the proc name is
equivalent for this process having it in its env, at least for bash;
and sh;

        matthias

-- 
Matthias Apitz, ✉ [email protected], ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
"Ohne die Mauer hätte es Krieg gegeben" Fritz Streletz u.a.
"Sin el Muro hubiese habido guerra."

Reply via email to