Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gettext(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

puttext

gettext

PURPOSE

     Extracts message/insert/help descriptions.

SYNOPSIS
     gettext [ [ -p ] [ [ -h helpnum -m mesgnum -t insertnum ] infile ] ]
             outfile

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,
     gettext 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 param-
     eters is as follows:

     num-num         Retrieves index numbers num to num.
     num,num . . .   Retrieves a list  of index numbers speci-
                     fied  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

     The following command:  "puttext."

     The discussion  of gettext  in AIX Operating  System Pro-
     gramming Tools and Interfaces.

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