UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: getoptsChapter 2
Unix Commands
Next: Reference: gettxt
 

gettext

gettext [domain] string

Solaris only. Retrieve and print the translated version of string. This provides shell-level access to the facilities of gettext(3C). Translations are looked up in /usr/lib/locale/lang/LC_MESSAGES/domain.mo. lang is the current locale (e.g., en_US). If domain is not supplied, the value of $TEXTDOMAIN is used instead. Without a domain, or if no translation can be found, gettext simply prints string. If $TEXTDOMAINDR exists, its value is used instead of /usr/lib/locale/.


Previous: Reference: getoptsUNIX in a Nutshell: System V EditionNext: Reference: gettxt
Reference: getoptsBook IndexReference: gettxt

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System