nordi wrote:
Try this:
$ LANG=foo $ locale -a >/dev/null locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory
If you get any messages on stderr, then the locale is not supported.
Nope, that doesn't work on Solaris. But Solaris formats its output so that your original instruction works: $ locale -a | grep $LANG de_DE.UTF-8 de_DE.UTF-8@euro Looks like Linux and Solaris use different output formats, and who knows what the other Unixes are doing. Regards nordi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org