マニュアルページセク ション 1: ユーザーコマンド

印刷ビューの終了

更新: 2014 年 7 月
 
 

msgget(1)

名前

msgget - get a message from a message catalog

形式

msgget locale [command:]catalog [set.]number [text]

説明

msgget gets the message corresponding to the parameters. See OPERANDS.

オペランド

The following operands are supported:

catalog

Specifies the message catalog name.

command

Specifies command-specific message.

locale

Specifies the locale. If locale is - then the current locale is used.

[set].number

Identifies the message by message number and an optional message set. If specified as - , the message set and number are determined by looking up text in the corresponding C locale message catalog.

text

Specifies the text of the message to be output upon error.

終了ステータス

0

Successful completion.

>0

An error occurred.

使用例 1 Getting a Message in the Current Locale

The following example gets msg 1 in the current locale from message catalog hello:


example% msgget - hello 1
hello world

Authors

Authors

Glenn Fowler, gsf@research.att.com

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
developer/astdev
Interface Stability
Volatile

関連項目

iconv(1), msgcc(1), msggen(1), attributes(5)