wwwoffle-htfuzzy
上传用户:seven77cht
上传日期:2007-01-04
资源大小:486k
文件大小:1k
- #!/bin/sh
- #### THE SPOOL DIR IS "SPOOLDIR" IN THE LINE BELOW ####
- wwwoffle_spool=SPOOLDIR
- ####
- # Set the path to include the htdig executables
- PATH=$PATH:/usr/local/bin
- export PATH
- # Set the temporary directory used for creating the fuzzy endings
- #TMPDIR=/tmp
- #export TMPDIR
- # Set up a log file.
- echo > $wwwoffle_spool/html/htdig/wwwoffle-htdig.log
- # Create the fuzzy databases
- htfuzzy -v -c $wwwoffle_spool/html/htdig/conf/htfuzzy.conf endings >> $wwwoffle_spool/html/htdig/wwwoffle-htdig.log 2>&1
- htfuzzy -v -c $wwwoffle_spool/html/htdig/conf/htfuzzy.conf synonyms >> $wwwoffle_spool/html/htdig/wwwoffle-htdig.log 2>&1