Changeset 0090db5 for chapter07/profile.xml
- Timestamp:
- 04/14/2006 09:37:17 AM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 40f8bf2
- Parents:
- b55b3c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/profile.xml
rb55b3c4 r0090db5 66 66 earlier.</para> 67 67 68 <para>Replace <replaceable> [ll]</replaceable> below with the two-letter code68 <para>Replace <replaceable><ll></replaceable> below with the two-letter code 69 69 for the desired language (e.g., <quote>en</quote>) and 70 <replaceable> [CC]</replaceable> with the two-letter code for the appropriate71 country (e.g., <quote>GB</quote>). <replaceable> [charmap]</replaceable> should70 <replaceable><CC></replaceable> with the two-letter code for the appropriate 71 country (e.g., <quote>GB</quote>). <replaceable><charmap></replaceable> should 72 72 be replaced with the canonical charmap for your chosen locale. Optional 73 73 modifiers such as <quote>@euro</quote> may also be present.</para> … … 84 84 <quote>utf8</quote>), so it is safest in most 85 85 cases to choose the canonical name for a particular locale. To determine 86 the canonical name, run the following command, where <replaceable> [locale87 name ]</replaceable> is the output given by <command>locale -a</command> for86 the canonical name, run the following command, where <replaceable><locale 87 name></replaceable> is the output given by <command>locale -a</command> for 88 88 your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para> 89 89 90 <screen role="nodump"><userinput>LC_ALL=<replaceable> [locale name]</replaceable> locale charmap</userinput></screen>90 <screen role="nodump"><userinput>LC_ALL=<replaceable><locale name></replaceable> locale charmap</userinput></screen> 91 91 92 92 <para>For the <quote>en_GB.iso88591</quote> locale, the above command … … 99 99 to it being added to the Bash startup files:</para> 100 100 101 <screen role="nodump"><userinput>LC_ALL= [locale name]locale country102 LC_ALL= [locale name]locale language103 LC_ALL= [locale name]locale charmap104 LC_ALL= [locale name]locale int_curr_symbol105 LC_ALL= [locale name]locale int_prefix</userinput></screen>101 <screen role="nodump"><userinput>LC_ALL=<locale name> locale country 102 LC_ALL=<locale name> locale language 103 LC_ALL=<locale name> locale charmap 104 LC_ALL=<locale name> locale int_curr_symbol 105 LC_ALL=<locale name> locale int_prefix</userinput></screen> 106 106 107 107 <para>The above commands should print the country and language names, the … … 144 144 <literal># Begin /etc/profile 145 145 146 export LANG=<replaceable> [ll]</replaceable>_<replaceable>[CC]</replaceable>.<replaceable>[charmap]</replaceable><replaceable>[@modifiers]</replaceable>146 export LANG=<replaceable><ll></replaceable>_<replaceable><CC></replaceable>.<replaceable><charmap></replaceable><replaceable><@modifiers></replaceable> 147 147 export INPUTRC=/etc/inputrc 148 148
Note:
See TracChangeset
for help on using the changeset viewer.