Skip to content

Instantly share code, notes, and snippets.

Created November 23, 2020 12:20
What would you like to do?
Babylon BGL to AppleDict converter
#!/usr/bin/env bash
shopt -s nocasematch
shopt -s nocaseglob
output=`echo ${1} | sed 's/.[bB][gG][lL]//'`
python3 ~/projects/pyglossary/pyglossary.pyw --read-format=BabylonBgl --read-options=resPath=OtherResources --write-format=AppleDict "$1" "$output"
cd $output
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment