3 # -u, --unique (equivalent to --less-than=2): we are interested in unique
4 # entries only (entries occuring less than 2 times). But don't drop the
5 # header entry; otherwise msgcomm will fail for multibyte strings.
8 trap 'rm -fr $tmpfiles' 1 2 3 15
10 tmpfiles="$tmpfiles mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3"
11 cat <<EOF > mcomm-test17.in1
14 "Project-Id-Version: GNU one 1.2.3\n"
15 "POT-Creation-Date: 2000-12-11 20:49+0100\n"
16 "PO-Revision-Date: 2000-03-18 15:25+01:00\n"
17 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
18 "Language-Team: German <de@li.org>\n"
20 "Content-Type: text/plain; charset=ISO-8859-1\n"
21 "Content-Transfer-Encoding: 8bit\n"
29 cat <<EOF > mcomm-test17.in2
32 "Project-Id-Version: GNU one 1.2.3\n"
33 "POT-Creation-Date: 2000-12-11 20:49+0100\n"
34 "PO-Revision-Date: 2000-03-18 15:25+01:00\n"
35 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
36 "Language-Team: German <de@li.org>\n"
38 "Content-Type: text/plain; charset=ISO-8859-1\n"
39 "Content-Transfer-Encoding: 8bit\n"
46 cat <<\EOF > mcomm-test17.in3
49 "Project-Id-Version: GNU one 1.2.3\n"
50 "POT-Creation-Date: 2000-12-11 20:49+0100\n"
51 "PO-Revision-Date: 2000-03-18 15:25+01:00\n"
52 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
53 "Language-Team: German <de@li.org>\n"
55 "Content-Type: text/plain; charset=ISO-8859-1\n"
56 "Content-Transfer-Encoding: 8bit\n"
68 tmpfiles="$tmpfiles mcomm-test17.tmp mcomm-test17.out"
73 mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3
74 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
75 LC_ALL=C tr -d '\r' < mcomm-test17.tmp > mcomm-test17.out
76 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
78 tmpfiles="$tmpfiles mcomm-test17.ok"
79 cat << \EOF > mcomm-test17.ok
82 "Project-Id-Version: GNU one 1.2.3\n"
83 "POT-Creation-Date: 2000-12-11 20:49+0100\n"
84 "PO-Revision-Date: 2000-03-18 15:25+01:00\n"
85 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
86 "Language-Team: German <de@li.org>\n"
88 "Content-Type: text/plain; charset=ISO-8859-1\n"
89 "Content-Transfer-Encoding: 8bit\n"
98 ${DIFF} mcomm-test17.ok mcomm-test17.out