UNIX in a Nutshell: System V Edition

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


gettxt msgfile:msgnum [default_message]

Obtain the message that resides in file msgfile and whose message ID is msgnum. msgnum is a number from 1 to n, where n is the number of messages in msgfile. gettxt searches for msgfile in directory /usr/lib/locale/locale/LC_MESSAGES, where locale is the language in which the message strings have been written. The value of locale is set by environment variable LC_MESSAGES, or failing that, the LANG environment variable. If neither is set, locale defaults to a directory named C. If gettxt fails, it displays default_message or (if none is specified) the string, "Message not found!!"

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

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