--- a/tests/lyx/lyx.sh
+++ b/tests/lyx/lyx.sh
@@ -5,12 +5,11 @@
initvariables $0
-recollq 'Bienvenue Dans Univers De Lyx' 2> $mystderr |
- egrep -v '^Recoll query: ' > $mystdout
-recollq 'Welcome To Lyx' 2>> $mystderr |
- egrep -v '^Recoll query: ' >> $mystdout
-recollq 'Udvozli Ont A LyX' 2>> $mystderr |
- egrep -v '^Recoll query: ' >> $mystdout
+(
+recollq 'Bienvenue Dans Univers De Lyx'
+recollq 'Welcome To Lyx'
+recollq 'Udvozli Ont A LyX'
+) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1