-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My shell script

#!/bin/sh
fatal "first"
cat <<EOF
'
EOF
fatal "second"

Try to extract strings from script:

xgettext -L shell -kfatal --omit-header -o - ll
#: ll:2
msgid "first"
msgstr ""

Well, parser processes all contents from apostroph (') to the end of
file as string.

This situation is happened if script have odd numbers of string
delimiters in here-doc in shell.

Possible solution: ignore here-doc block in shell language.

- -- 
Андрей Черепанов
ALT Linux
[email protected]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)

iEYEARECAAYFAlF1M1IACgkQSGPA9Knr8TGFcgCaA7r1HQMC6Wi1m9exjX2Tj8tb
+gwAoKpSemaaqsAEHrHrVjZlX3pf1XXf
=DZVc
-----END PGP SIGNATURE-----


Reply via email to