User:Matthias Buchmeier/ding2dictd

Usage:
You need the programs gawk, bash and dictfmt. Save the awk code to a file named ding2dictd.awk and the bash script to ding2dictd.sh resp.. Then run bash ./ding2dictd.sh SOURCE TARGET from the commandline, where SOURCE is the filename of the ding-file to be converted and TARGET is the filename-base of the dictd files to be generated, e.g. 'bash ./ding2dictd.sh en-es.txt en-es' will generate the files 'en-es.dict' and 'en-es.index'.