Download this file

rfc2231.sh    23 lines (16 with data), 594 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
# These one are name/filenamefor an inline part, no result
recollq EnerveUniqueNameTerm 2> $mystderr |
egrep -v '^Recoll query: ' > $mystdout
recollq EnerveUniqueFileNameTerm 2>> $mystderr |
egrep -v '^Recoll query: ' >> $mystdout
# This one for actual attachment
recollq EpatantUniquenameterm 2>> $mystderr |
egrep -v '^Recoll query: ' >> $mystdout
recollq EpatantUniquefilenameterm 2>> $mystderr |
egrep -v '^Recoll query: ' >> $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult