Re: [htdig] trying to figure out -a and merging

Subject: Re: [htdig] trying to figure out -a and merging
From: Geoff Hutchison (
Date: Thu Jun 15 2000 - 20:13:59 PDT

At 10:20 PM -0400 6/15/00, Clint Gilders wrote:
>#this below is a stock bit from rundig and I would appreciate knowing
>#what it does (I don't do shell yet)
>case "$alt" in
> ( cd $DBDIR && test -f &&
> for f in *.work
> do
> mv -f $f `basename $f .work`
> done ) ;;

Basically, this is a bit of shell script that normally makes things
easier for people. With the default rundig script, you can call it
"rundig -a" and it will pass this to both programs and run the case
here. (In this case, $alt will be -a. If you don't pass the flag, it
won't be set and it will skip this section.)

>db.docdb,, db.wordlist, and db.words.db are the same size
>it was when I started and I now have these other files with the .work
>ext.. How do I combine the new data in the work files with the original

I'm not sure why the timestamps on your original files were *newer*
than the ones that you just created. But you want to move (or copy)
the .work files to replace the other databases.

Since I prefer to run update digs, I keep some of the .work files
around. See at <>

-Geoff Hutchison
Williams Students Online

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Thu Jun 15 2000 - 18:11:02 PDT