Bug 21395 - xgettext не знает о существовании "shell here documents", вследствие чего неправильно обрабатывает квотирование в таких конструкциях
Summary: xgettext не знает о существовании "shell here documents", вследствие чего неп...
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: gettext-tools (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 17:45 MSD by Vladislav Zavjalov
Modified: 2010-11-03 14:04 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Zavjalov 2009-09-03 17:45:18 MSD
Демонстрационный скрипт. На выводе, увы, только вторая из двух строчек

----
#!/bin/sh
 
xgettext -L Shell -k'_' -o - "$0"
 
cat <<EOF 
 
don't trust xgettext! 
 
EOF 
 
exit 0 
 
echo "`_ "first"`" 
#' 
echo "`_ "second"`"
Comment 1 Vladislav Zavjalov 2010-11-03 14:04:08 MSK
> xgettext не знает о существовании "shell here documents"

Как видно из примера, и о комментариях - тоже :)