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.out"
71 ${MSGCOMM} -u mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3 \
73 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
75 tmpfiles
="$tmpfiles mcomm-test17.ok"
76 cat << \EOF
> mcomm-test17.ok
79 "Project-Id-Version: GNU one 1.2.3\n"
80 "POT-Creation-Date: 2000-12-11 20:49+0100\n"
81 "PO-Revision-Date: 2000-03-18 15:25+01:00\n"
82 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
83 "Language-Team: German <de@li.org>\n"
85 "Content-Type: text/plain; charset=ISO-8859-1\n"
86 "Content-Transfer-Encoding: 8bit\n"
95 ${DIFF} mcomm-test17.ok mcomm-test17.out