home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


gettxt

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 the 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: gettext UNIX in a Nutshell: System V Edition Next: Reference: gprof
Reference: gettext Book Index Reference: 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