diff --git a/src/filters/rclbibtex.sh b/src/filters/rclbibtex.sh index 4360354b..543ea3d5 100755 --- a/src/filters/rclbibtex.sh +++ b/src/filters/rclbibtex.sh @@ -5,15 +5,16 @@ if test "X$RECOLL_FILTER_FORPREVIEW" = "Xyes" ; then sed \ -e '/^$/N;/^\n$/D' \ - -e '/(bibdsk.*|month|bibsource|crossref|ee|groups|owner|pages|timestamp|url|file|price|citeulike.*|markedentry|posted-at)[[:space:]=]*/I d' \ + -e '/(bibdsk.*\|month\|bibsource\|crossref\|ee\|groups\|owner\|pages\|timestamp\|url\|file\|price\|citeulike.*\|markedentry\|posted-at)[[:space:]=]*/I d' \ -e '/@[^{]*{/ d' \ \ -e 's/{//g' \ -e 's/},\?$//g' \ -e 's/^[ ]*//' \ + -e 's/({|}|=)//g' \ < $1 else - sed -e '/(bibdsk.*|month|bibsource|crossref|ee|groups|owner|pages|timestamp|url|file|price|citeulike.*|markedentry|posted-at)[[:space:]=]*/I d' \ + sed -e '/\(StaticGroup\|bibdsk.*\|month\|edition\|address\|query\|bibsource\|crossref\|ee\|groups\|owner\|pages\|timestamp\|url\|file\|price\|citeulike.*\|markedentry\|posted-at\)[[:space:]=]*/I d' \ -e '/@[^{]*{/ d' \ \ -e 's/^[^{]*{//g' \