svn commit: r47079 - head/en_US.ISO8859-1/books/handbook/l10n

Hiroki Sato hrs at FreeBSD.org
Sat Jul 25 15:11:00 UTC 2015


Dru Lavigne <dru at FreeBSD.org> wrote
  in <201507251415.t6PEFtXw061820 at repo.freebsd.org>:

dr> Author: dru
dr> Date: Sat Jul 25 14:15:54 2015
dr> New Revision: 47079
dr> URL: https://svnweb.freebsd.org/changeset/doc/47079
dr>
dr> Log:
dr>   setenv syntax is comma-delimited. While here, fix another section's setenv example.
dr>
dr>   PR: 199178
dr>   Sponsored by: Essen DevSummit Hackathon
dr>
dr> Modified:
dr>   head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
dr>
dr> Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
dr> ==============================================================================
dr> --- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml	Sat Jul 25 13:55:28 2015	(r47078)
dr> +++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml	Sat Jul 25 14:15:54 2015	(r47079)
dr> @@ -258,13 +258,7 @@
dr>  #of Taiwan can manually change each variable
dr>  me:\
dr>  	:lang=zh_TW.Big5:\
dr> -	:setenv=LC_ALL=zh_TW.Big5:\
dr> -	:setenv=LC_COLLATE=zh_TW.Big5:\
dr> -	:setenv=LC_CTYPE=zh_TW.Big5:\
dr> -	:setenv=LC_MESSAGES=zh_TW.Big5:\
dr> -	:setenv=LC_MONETARY=zh_TW.Big5:\
dr> -	:setenv=LC_NUMERIC=zh_TW.Big5:\
dr> -	:setenv=LC_TIME=zh_TW.Big5:\
dr> +	:setenv=LC_ALL=zh_TW.Big5,LC_COLLATE=zh_TW.Big5,LC_CTYPE=zh_TW.Big5,LC_MESSAGES=zh_TW.Big5,LC_MONETARY=zh_TW.Big5,LC_NUMERIC=zh_TW.Big5,LC_TIME=zh_TW.Big5:\
dr>  	:charset=big5:\
dr>  	:xmodifiers="@im=gcin": #Set gcin as the XIM Input Server</programlisting>

 I am wondering why LC_ALL and the others are set at the same time.
 If lang= is specified, all of LC_* variables should be dropped.

dr> @@ -372,8 +366,7 @@ me:\
dr>  	    <filename>/etc/csh.login</filename>, or
dr>  	    <filename>/usr/share/skel/dot.login</filename>:</para>
dr>
dr> -	  <programlisting><envar>setenv LANG de_DE.ISO8859-1</envar>
dr> -<envar>setenv MM_CHARSET ISO-8859-1</envar></programlisting>
dr> +	  <programlisting><envar>setenv LANG de_DE.ISO8859-1,MM_CHARSET ISO-8859-1</envar></programlisting>
dr>

 The second part is wrong.  It is in a command line of csh(1) and does
 not use a comma-separation syntax.  Also, <envar> should be used
 around a variable, not whole of the command line.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-doc-all/attachments/20150726/02d835b4/attachment.bin>


More information about the svn-doc-all mailing list