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


UNIX in a Nutshell: System V Edition

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

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

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