Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

puttext



GETTEXT(1,C)                AIX Commands Reference                 GETTEXT(1,C)



-------------------------------------------------------------------------------
gettext



PURPOSE

Extracts message, insert, and help descriptions.

SYNTAX


           +---------- -p --------------------------+
gettext ---|           maximum three each           |-- outfile --|
           | +------+   +--------------+            |
           +-|      |---| -h helpnum   |--- infile -+
             +- -p -+ ^ | -m mesgnum   | |
                      | | -t insertnum | |
                      | +--------------+ |
                      +------------------+


Note:  This command does not have MBCS support.

DESCRIPTION

The gettext command gets message, insert, or help descriptions from infile and
places the descriptions in outfile.  If you specify the -p flag or gettext
outfile, the gettext command places a message/insert/help template in outfile.
When you have your message, insert, or help descriptions or your
message/insert/help template in outfile, you can edit outfile.

The outfile is an AIX ASCII file that consists of a header to identify the
component and a group of message/insert/help descriptions.  The contents of the
message/insert/help descriptions includes a delimiter, control information and
message/insert/help text.  See AIX Operating System Programming Tools and
Interfaces for a description of the outfile format and contents.

FLAGS

-h  helpnum     Extracts help information from infile.  You specify the index
                value used for the desired help number with helpnum.

-m  mesgnum     Extracts message information from infile.  You specify the
                index value used for the desired message number with mesgnum.

-p              Makes a message/insert/help template for outfile.

-t  insertnum   Extracts text insert information from infile.  You specify the
                index value used for the desired insert number with insertnum.

The syntax for the mesgnum, insertnum, and helpnum parameters is as follows:



Processed November 8, 1990       GETTEXT(1,C)                                 1





GETTEXT(1,C)                AIX Commands Reference                 GETTEXT(1,C)




num-num       Retrieves index numbers num to num.

num,num...    Retrieves a list of index numbers specified with num, num, num,
              and so on (maximum of 50 numbers).

num-          Retrieves index numbers equal to and larger than num.

-num          Retrieves index numbers from one to num.

RELATED INFORMATION

See the following command:  "puttext."










































Processed November 8, 1990       GETTEXT(1,C)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026