Locale

locale — UNIX‐утилита, выводящая информацию о региональных настройках (параметрах).

Использование

Если не указывать параметров при запуске locale, то будут выводиться текущие параметры региональных настроек, установленные с помощью соответствующих переменных среды, например:

LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="POSIX"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=

По умолчанию переменные LC_ALL и LANG имеют пустые значения, а все остальные — значение «POSIX». В русифицированных системах при настройке региональных параметров указывается определённая кириллическая кодировка, например UTF-8 (Unicode) или реже CP1251 (русскоязычная кодировка Microsoft Windows) или KOI-8 (русскоязычная кодировка UNIX).

Чтобы установить значение региональных настроек, нужно установить значение переменной LANG, например так:

export LANG=ru_RU.UTF-8

Либо установить значения для отдельных переменных. Например, переменная LC_MESSAGES определяет, на каком языке будут выдаваться сообщения.

Синтаксис

  • locale [ -a | -m]
  • locale [ -ck ] name [ name ... ]

Параметры

-a, --all-locales
вывести названия доступных региональных настроек.
-m, --charmaps
вывести названия доступных таблиц преобразований символов.
-c, --category-name
вывести названия указанных категорий.
-k, --keyword-name
вывести названия и значения указанных ключевых слов.

Пример работы с категориями:

$ locale -ck LC_NUMERIC
LC_NUMERIC
decimal_point=","
thousands_sep=" "
grouping=3;3
numeric-decimal-point-wc=44
numeric-thousands-sep-wc=160
numeric-codeset="UTF-8"
$ echo Decimal point is \"`locale decimal_point`\" in `locale territory`.
Decimal point is "," in Russia.

Ссылки

Read other articles:

Bagian dari seriIslam Rukun Iman Keesaan Allah Nabi dan Rasul Allah Kitab-kitab Allah Malaikat Hari Kiamat Qada dan Qadar Rukun Islam Syahadat Salat Zakat Puasa Haji Sumber hukum Islam al-Qur'an Sunnah (Hadis, Sirah) Tafsir Akidah Fikih Syariat Sejarah Garis waktu Muhammad Ahlulbait Sahabat Nabi Khulafaur Rasyidin Khalifah Imamah Ilmu pengetahuan Islam abad pertengahan Penyebaran Islam Penerus Muhammad Budaya dan masyarakat Akademik Akhlak Anak-anak Dakwah Demografi Ekonomi Feminisme Filsafat...

 

טורסטן נילס ויזלTorsten Nils Wiesel לידה 3 ביוני 1924 (בן 99)אופסלה, שוודיה ענף מדעי מיניות, נוירוביולוגיה מקום מגורים שוודיה, ארצות הברית מקום לימודים מכון קרולינסקה מוסדות אוניברסיטת רוקפלר (1983–1998) אוניברסיטת ג'ונס הופקינס אוניברסיטת הרווארד אוניברסיטת רוקפלר תלמידי דוקטורט Rafael ...

 

First President of the Riograndense Republic This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: Bento Gonçalves da Silva – news · newspapers · books · scholar · JSTOR (November 2022) Bento GonçalvesGonçalves, unknown author, oil on canvas, 19th century. National Historical MuseumPresident of the Ri...

Sporting event delegationCuba at the2022 World Athletics ChampionshipsWA codeCUBNational federationCuban Athletics Federationin Eugene, United States15–24 July 2022Competitors16 (6 men and 10 women) in 13 eventsMedals Gold 0 Silver 0 Bronze 0 Total 0 World Athletics Championships appearances1983198719911993199519971999200120032005200720092011201320152017201920222023 Cuba competed at the 2022 World Athletics Championships in Eugene, United States, from 15 to 24 July 2022. The Cuban...

 

English television personality (born 1960) Lisa VanderpumpVanderpump in 2014BornLisa Jane Vanderpump (1960-09-15) 15 September 1960 (age 63)Dulwich, London, EnglandAlma materCorona AcademyOccupation(s)Television personality, businesswoman, producerYears active1973–presentOrganizationVanderpump DogsTelevision The Real Housewives of Beverly Hills Vanderpump Rules Overserved with Lisa Vanderpump Vanderpump Dogs Spouse Ken Todd ​(m. 1982)​Children2Web...

 

Artikel ini tidak memiliki bagian pembuka yang sesuai dengan standar Wikipedia. Mohon tulis paragraf pembuka yang informatif sehingga pembaca dapat memahami maksud dari Daftar perguruan tinggi di Mesir. Contoh paragraf pembuka Daftar perguruan tinggi di Mesir adalah .... (Mei 2010) (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Halaman ini memuat daftar universitas di Mesir. Daftar ini tidak dimaksudkan sebagai suatu daftar yang lengkap atau selalu terbarui. Jika Anda mel...

Ethiopian football club Football clubWoldia CityFull nameWoldia Kenema Football ClubGroundWoldia StadiumLeagueEthiopian Premier League2014–1514th Home colours Woldia City is an Ethiopian football club based in the city of Woldia. They currently play in the Ethiopian Premier League, the top domestic level of football in Ethiopia.[1] References ^ https://int.soccerway.com/teams/ethiopia/woldya-kenema/32213/ Soccerway – Club Profile External links Soccerway – 2014–15 Et...

 

Istana GyeonghuiGerbang Sungjeongmun di Istana Gyeonghui.Nama KoreaHangul경희궁 Hanja慶熙宮 Alih AksaraGyeonghuigungMcCune–ReischauerKyŏng-hŭi-gung Gyeonghuigung atau Istana Gyeonghui adalah istana yang terletak di Seoul, Korea Selatan. Istana Gyeonghui termasuk dari Lima Istana Besar Korea yang didirikan oleh Dinasti Joseon. Pada masa-masa akhir Dinasti Joseon, Istana Gyeonghui adalah istana sampingan untuk raja dan lokasinya terletak di sebelah barat Seoul. Istana ini sering kali ...

 

Fundamental structure. Playⓘ In Schenkerian analysis, a structural level is a representation of a piece of music at a different level of abstraction, with levels typically including foreground, middleground, and background.[1] According to Schenker musical form is an energy transformation, as a transformation of the forces that flow from background to foreground through the levels.[2] For example, while details such as melodic notes exist at the lowest structural levels, the...

Subgenre of trance music This article may document a neologism or protologism in such a manner as to promote it. Please add more reliable sources to establish its current use and the impact the term has had on its field. Otherwise consider renaming or deleting the article. (February 2023) (Learn how and when to remove this template message) This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introdu...

 

Railway station in Mangalore, India The article's lead section may need to be rewritten. The reason given is: Not clear what the sentences mean and not cited in main body. Please help improve the lead and read the lead layout guide. (October 2019) (Learn how and when to remove this template message) Mangaluru CentralMangalore Central Indian Railways stationGeneral informationOther namesKudla Central & Mangalapuram CentralLocationOld Kent Road, Hampankatta, Mangaluru, Dakshina Kannada, Kar...

 

KetapangDesaKantor Desa KetapangPeta lokasi Desa KetapangNegara IndonesiaProvinsiJawa TimurKabupatenBanyuwangiKecamatanKalipuroKode pos68455Kode Kemendagri35.10.21.2003 Luas23,73 km2 / 3767,7 haJumlah penduduk20.270 jiwaKepadatan697 jiwa/km2 Pelabuhan Ketapang Ketapang adalah sebuah desa di Kalipuro, Banyuwangi, Jawa Timur. Dinamakan Ketapang karena di daerah tersebut banyak tumbuh pohon ketapang (Terminallia catappa). Desa ini dikenal karena pelabuhan penyeberangan dengan ferinya yang r...

Genus of Gesneriaceae plants Damrongia Damrongia orientalis Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Eudicots Clade: Asterids Order: Lamiales Family: Gesneriaceae Subfamily: Didymocarpoideae Genus: DamrongiaKerr ex Craib[1] Species See text Damrongia is a genus of flowering plants in the Gesneriad family, centered in Thailand and found in southern China, Southeast Asia, and Sumatra.[2] Species were reassigned to it in 2016 in a ...

 

1970 airplane bombing Philippine Airlines Flight 215A Hawker Siddeley HS 748 similar to the one involved.BombingDateApril 21, 1970SummaryBomb explosionSitenear Cabanatuan, PhilippinesAircraftAircraft typeHawker Siddeley HS-748-209 Srs. 2OperatorPhilippine AirlinesRegistrationPI-C1022[1]Flight originCauayan Airport, Cauayan, PhilippinesDestinationManila International Airport, Manila, PhilippinesPassengers32Crew4Fatalities36Survivors0 Philippine Airlines Flight 215 was the route de...

 

Peta Fiji yang memperlihatkan posisi Lautoka. Lautoka adalah kota terbesar kedua di Fiji yang berada di sebelah barat Pulau Viti Levu.[1] Rujukan ^ Encyclopaedia Britannica (tanpa tanggal). Lautoka. Encyclopaedia Britannica. Diakses tanggal 4 April 2020.  Periksa nilai tanggal di: |date= (bantuan) Pranala luar Situs Kota Lautoka Diarsipkan 2020-02-19 di Wayback Machine..

The San Francisco 49ers have retired 12 jersey numbers. Retired numbers The 49ers' retired numbers displayed on the southeastern side of Candlestick Park in June 2009 San Francisco 49ers retired numbers[1][2] No. Player Position Tenure Retired Refs 8 Steve Young QB 1987–1999 October 5, 2008 [3] 12 John Brodie * QB 1957–1973 December 15, 1973 [4] 16 Joe Montana QB 1979–1992 December 15, 1997 [5] 34 Joe Perry FB 1948–1960, 1963 1971 37 Jimmy Johns...

 

Municipality in Southeast, BrazilFama, Minas GeraisMunicipality FlagSealCountry BrazilRegionSoutheastStateMinas GeraisMesoregionSud/Sudoeste de MinasGovernment • MayorOsmair Leal dos Reis (PTB)Population (2020 [1]) • Total2,376Time zoneUTC−3 (BRT) Fama, Minas Gerais is a municipality in the state of Minas Gerais in the Southeast region of Brazil.[2][3][4][5] See also List of municipalities in Minas Gerais Referenc...

 

Indian television actress This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Shweta Gulati – news · newspapers · books · scholar · JSTOR (June 2011) (Learn how and when to remove this template mess...

Young Artist Award UtdelareAmerikanska filmakademienPlatsUSAPeriod1979–nutidWebbplatsYoungArtistAwards.org The Young Artist Awards är ett amerikanskt filmpris som delas ut av Young Artist Foundation. Första gången delades ut var 1979 av Maureen Dragone. Priskategorier Best Performance in a Feature Film - Leading Young Actor Best Performance in a Feature Film - Leading Young Actress Best Performance in a Feature Film - Supporting Young Actor Best Performance in a Feature Film - Supporting...

 

Riejanne Markus Markus, 2022 Persoonlijke informatie Geboortedatum 1 september 1994 Geboorteplaats Diemen,  Nederland Lengte 182 cm Gewicht 61 kg Sportieve informatie Huidige ploeg Team Jumbo-Visma Ploegen 2013-201520162017-20202021- Parkhotel ValkenburgLiv-PlanturCCC-LivTeam Jumbo-Visma Beste prestaties Ronde van Vlaanderen 13e (2020) Amstel Gold Race 4e (2018) Luik-Bastenaken-Luik 4e (2023) Ronde van Frankrijk 12e (2022) Medailleoverzicht Wereldkampioenschappen 1 Yorkshire 2019 Gemeng...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!