Next: , Previous: C, Up: List of Programming Languages   [Contents][Index]


15.5.2 sh - Shell Script

RPMs

bash, gettext

File extension

sh

String syntax

"abc", 'abc', abc

gettext shorthand

"`gettext \"abc\"`"

gettext/ngettext functions

gettext, ngettext programs
eval_gettext, eval_ngettext shell functions

textdomain

environment variable TEXTDOMAIN

bindtextdomain

environment variable TEXTDOMAINDIR

setlocale

automatic

Prerequisite

. gettext.sh

Use or emulate GNU gettext

use

Extractor

xgettext

Formatting with positions

Portability

fully portable

po-mode marking

An example is available in the examples directory: hello-sh.