Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / examples / hello-sh / hello.sh
blob82e41bbaebf7f2a42bb5a2fc279059375a5bb231
1 #!/bin/sh
2 # Example for use of GNU gettext.
3 # This file is in the public domain.
5 # Source code of the POSIX sh program.
7 . gettext.sh
9 TEXTDOMAIN=hello-sh
10 export TEXTDOMAIN
11 TEXTDOMAINDIR='@localedir@'
12 export TEXTDOMAINDIR
14 gettext "Hello, world!"; echo
16 pid=$$
17 eval_gettext "This program is running as process number \$pid."; echo