跳过导航链接 | |
退出打印视图 | |
手册页第 1 部分:用户命令 Oracle Solaris 11.1 Information Library (简体中文) |
- 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:
Specifies the message catalog name.
Specifies command-specific message.
Specifies the locale. If locale is - then the current locale is used.
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.
Specifies the text of the message to be output upon error.
Successful completion.
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
Glenn Fowler, gsf@research.att.com
See attributes(5) for descriptions of the following attributes:
|