1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test --more-than=0; identical message are wanted once only. 5# If the first occurrence is fuzzy, keep the fuzzy mark. 6 7cat <<EOF > mcomm-test19.in1 8# Not sure. 9#: first.c:123 10#, fuzzy 11msgid "1" 12msgstr "1x" 13EOF 14 15cat <<EOF > mcomm-test19.in2 16# Sure. 17#: hunt.c:759 18msgid "1" 19msgstr "1x" 20EOF 21 22: ${MSGCOMM=msgcomm} 23${MSGCOMM} --more-than=0 -o mcomm-test19.tmp mcomm-test19.in1 mcomm-test19.in2 || Exit 1 24LC_ALL=C tr -d '\r' < mcomm-test19.tmp > mcomm-test19.out || Exit 1 25 26cat << EOF > mcomm-test19.ok 27# Not sure. 28#: first.c:123 hunt.c:759 29#, fuzzy 30msgid "1" 31msgstr "1x" 32EOF 33 34: ${DIFF=diff} 35${DIFF} mcomm-test19.ok mcomm-test19.out 36result=$? 37 38exit $result 39