${XGETTEXT} --from-code=EUC-JP --add-comments --no-location --no-wrap \
-o - xg-c-19.c | grep -v 'POT-Creation-Date' > xg-c-19.tmp.po \
- || { cp core* ..; exit 1; }
+ || exit 1
LC_ALL=C tr -d '\r' < xg-c-19.tmp.po > xg-c-19.po || exit 1
cat <<\EOF > xg-c-19.ok
${XGETTEXT} --add-comments --no-location --no-wrap \
-o - xg-c-20.cc | grep -v 'POT-Creation-Date' > xg-c-20.tmp.po \
- || { cp core* ..; exit 1; }
+ || exit 1
LC_ALL=C tr -d '\r' < xg-c-20.tmp.po > xg-c-20.po || exit 1
cat <<\EOF > xg-c-20.ok
${XGETTEXT} --add-comments --no-location --no-wrap \
-o - xg-c-20.c | grep -v 'POT-Creation-Date' > xg-c-20c.tmp.po \
- || { cp core* ..; exit 1; }
+ || exit 1
LC_ALL=C tr -d '\r' < xg-c-20c.tmp.po > xg-c-20c.po || exit 1
cat <<\EOF > xg-c-20c.ok