I've found a situation wherein rundig will not rename the work files.  I 
think this is a side-effect of using a configuration file.

Here's the command line:

rundig -a -c /usr/local/etc/htdig-freebsddiary.org.conf

Here's the files:

$ ls /usr/local/share/htdig/*.work
/usr/local/share/htdig/freebsddiary.docdb.work          
/usr/local/share/htdig/freebsddiary.wordlist.work
/usr/local/share/htdig/freebsddiary.docs.index.work     
/usr/local/share/htdig/freebsddiary.words.db.work

Within the conf file, I have this entry:

database_base:          ${database_dir}/freebsddiary

The problem arises in this part of the file:

  ( cd $DBDIR && test -f db.docdb.work &&

If that is changed to:

  ( cd $DBDIR &&

The files are actually renamed.

I can't think of a simple fix.  But perhaps adding a note to the 
documentation and/or rundig itself until this is fixed...

Or have I missed a simpler solution?
-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to