Download this file

cjk.sh    25 lines (15 with data), 500 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
# We need an UTF-8 locale here for recollq arg transcoding
LANG=en_US.UTF-8
export LANG
# The following tests have multiple results and the order keeps
# changing (relevance changes). Use sort to keep it quiet
(
recollq 'keyword:ckjtsthuniique まず' |sort
recollq 'keyword:ckjtsthuniique ます' |sort
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult