1
xgettext -o hell.po 1.c
2
sed -n "1,15!P" hell.po > hell.po.tmp
6
"Project-Id-Version: Example 1.0\n"
7
"POT-Creation-Date: 2001-03-17 02:31+0300\n"
8
"PO-Revision-Date: 2001-03-17 02:31+0300\n"
9
"Last-Translator: Kain <csa7fff@yahoo.com>\n"
10
"Language-Team: russian <>\n"
12
"Content-Type: text/plain; charset=koi8-r\n"
13
"Content-Transfer-Encoding: 8-bit\n"
15
cat hell.po.tmp >> hell.po
18
msgfmt -o hell.mo hell.po