fi
fi
+ if msgcat $srcfile 2>&1 >/dev/null | grep -q '.'; then
+ # checks for things like bogus escapes in msgid or msgstr
+ echo "$me: $srcfile has potential issues" 1>&2
+ msgcat $srcfile >/dev/null
+ if $force; then
+ echo "$me: copying anyway, as requested" 1>&2
+ else
+ continue
+ fi
+ fi
+
+ if grep -E -q '#~\|' $srcfile; then
+ echo "$me: $srcfile will fail with old gettext versions" 1>&2
+ grep -E -Hn '#~\|' $srcfile 1>&2 || :
+ if $force; then
+ echo "$me: copying anyway, as requested" 1>&2
+ else
+ continue
+ fi
+ fi
+
for y in $nls_mks; do
destcat=$(cat $y | sed -n 's/CATALOG_NAME.*:*= *\([^ ]*\)$/\1/p')
if [ -z "$destcat" ]; then