Test if the locale given as argument is a valid locale. If it isn't, print on stdout the string to add to /etc/locale.gen to make locale-gen generate the locale (if it exists at all).
/usr/sbin/validlocale
/usr/share/i18n/SUPPORTED
If you give a valid locale as parameter, it outputs a string specifying this on stderr:
When given a invalid (not generated or just nonexistent), it outputs a string on stderr telling that this is an invalid locale, and a string to stdout with the string to add to /etc/locale.gen to have this locale generated:
Petter Reinholdtsen <pere@hungry.com>
locale-gen(8), localedef(1), locale(1)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |