kdict well and truly underway. scripted database de- and construction was a snap -- a shell script handles the calls to postgres chunks and then calls a perl script with the brains to frob the data around and shove it in the db.
The shoving is not quite a go, as some issues have become apparent with the best way to handle some chunks which become complex once moved into a relational context. Still, I did add code to do a count-up of the number of records processed, complete with ANSI codes to manipulate cursor position for seamless odometer effect and bash-perl-bash output. Why? No one else will ever see it!
mdxi@fornax:~/web/dict/kdict$ ./initdb.sh
Dropping and creating database...done.
Importing initial database structure...done.
Populating database from flat-text source file...03485 entries...finished!
There. Now you've seen it, albeit sans ticker effect, so I have some justification.
Tonight's coding has been brought to you by the Naruto, Black Heaven, and WHR soundtracks. Stupefying fact: "Viva Rock", the 3rd seaon Naruto ED, contains the following lines:
sekai wa hiroi hiroi totetsu mo nakuroughly (and quickly) translated:
ookii hito chiisai hito BIBIDEBABIDEBU-
the world is wide, wide, absurd, and disappears
big people little people bibbetybobbityboo