Re: Error in /etc/profile.d/i18n.sh
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On 7/18/25 10:07 AM, Randy McMurchy ([email protected] via blfs-dev Mailing List) wrote: <snip> > bash: /etc/profile.d/i18n.sh: line 9: syntax error near unexpected token `<' > bash: /etc/profile.d/i18n.sh: line 9: ` export LANG=<ll>_<CC>.<charmap><@modifiers>' That line is from the locale section of Chapter 9. if [[ "$TERM" = linux ]]; then export LANG=C.UTF-8 else export LANG=<ll>_<CC>.<charmap><@modifiers> fi What is intended is to replace the items inside the angle brackets. For instance <ll>_<CC> would be replaced with 'fr_FR', <charmap> would be replaced with 'iso885915' and <@modifiers> would be replaced with '@euro'. Note that the locale page says: "Replace <ll> below with the two-letter code for your desired language (e.g., en) and <CC> with the two-letter code for the appropriate country (e.g., GB). <charmap> should be replaced with the canonical charmap for your chosen locale. Optional modifiers such as @euro may also be present." For US users, that section is not needed at all. -- Bruce -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page