Reference: gettxt
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T21:53:02Z

#

| Chapter 2 UNIX Commands |

## 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!!"

Reference: getopts |  | Reference: gprof