diff --git a/src/filters/rclabw b/src/filters/rclabw index 88135515..02cda362 100755 --- a/src/filters/rclabw +++ b/src/filters/rclabw @@ -1,5 +1,5 @@ #!/bin/sh -# @(#$Id: rclabw,v 1.2 2007-06-15 11:41:50 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: rclabw,v 1.3 2008-10-08 08:27:34 dockes Exp $ (C) 2004 J.F.Dockes # Parts taken from Estraier: #================================================================ # Estraier: a personal full-text search system @@ -83,13 +83,6 @@ umask 77 checkcmds iconv sed -# check the input file existence -if test ! -f "$infile" -then - printf '%s: %s: no such file\n' "$progname" "$infile" - exit 1 -fi - encoding=`sed -e '/$//' \ -e '/^
' #echo ''
nocaptionexp='s/===.*://'
-kpcaptionexp='s/===[^(]*//'
if test X$RECOLL_FILTER_FORPREVIEW = Xyes ; then
- captionexp=$kpcaptionexp
-else
- captionexp=$nocaptionexp
-fi
-
+echo ''
id3info "$infile" | \
sed -e '/Tag information for/d' \
- -e "$captionexp" \
- -e 's/</g' -e 's/&/&/g' \
+ -e 's/===[^(]*//' \
+ -e 's/</g' -e 's/&/&/g' -e 's/"/"/g' -e 's/>/>/g'
+echo '