Download this file

badsuffs.sh    23 lines (15 with data), 501 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
# Data in text files with skipped suffixes should not be indexed,
# except that .md5 is in noContentSuffixes- -> 1 result,
# badsuffilename.md5
recollq Badsuffixes_unique
# .nosuff is added by noContentSuffixes+. No result for you
# notreallybad.nosuff
recollq nosuffUnique
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult