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

Bug#311259: error and omission in documentation of LANGUAGE



On Mon, Jun 06, 2005 at 09:48:55PM +0200, Denis Barbier wrote:
> > drow@nevyn:~% env - LANG=de_DE cat -h 
> > cat: Ungültige Option -- h
> > ,,cat --help" gibt weitere Informationen.
> > 
> > With just LANG set, LC_MESSAGES and LC_CTYPE are inferred from LANG.
> 
> Sure, this is the well established behavior documented in POSIX.

Completely agreed.

> > drow@nevyn:~% env - LANGUAGE=de_DE cat -h
> > cat: invalid option -- h
> > Try `cat --help' for more information.
> > 
> > With just LANGUAGE set, LC_MESSAGES and LC_CTYPE are not inferred
> > from LANG, because of the choice I think we need to document.
>   ^^^^^^^^^  Do you mean: from LANGUAGE?

Yes.  *blush* the point of giving examples was so that I could be
precise, typos are not making this any easier...

> > They remain as C.
> 
> Yes, LANGUAGE is only checked to select message catalogs, nothing else.

This is also not documented.  And it's surprising - to me anyway.  The
documentation presents it as an extension to LANG.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: