Группа :: Терминалы
Пакет: console-data
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: console-tools-cpp-fix.patch
--- console-tools-0.2.3/console-data-1999.08.29/console-data-cyrillic-0.0.7/local-scripts/convkeys.foo 2004-02-03 16:16:12 +0300
+++ console-tools-0.2.3/console-data-1999.08.29/console-data-cyrillic-0.0.7/local-scripts/convkeys 2004-02-03 16:16:48 +0300
@@ -74,10 +74,10 @@
EOF
echo -n "COMM "
cat "$2" | sed -e 's/^#define //'
- } | "$CPP" | sed -e '1,2d' \
+ } | "$CPP" -P | sed -e '1,2d' \
| sed -e '/^COMM /!s/^/#define /' | sed -e 's/0x/ox/;t p;b;: p p;s/ox/ox00/'
cat "${3:--}" | sed -e 's/^#/COMM /' | sed -e ': b s/0x/ox/;t b'
- } | "$CPP" -traditional | sed -e ': b s/ox/0x/;t b' | sed -e 's/^#.*$//;s/^COMM /# /'
+ } | "$CPP" -traditional -P | sed -e ': b s/ox/0x/;t b' | sed -e 's/^#.*$//;s/^COMM /# /'
} | cat --squeeze-blank \
| if [[ -z "$4" ]]; then
cat