ekp/dictionaries/update.sh
2025-07-26 23:52:04 +08:00

8 lines
251 B
Bash

git clone https://git.libreoffice.org/dictionaries libreoffice-dictionaries
cd libreoffice-dictionaries
git pull
cd ..
find libreoffice-dictionaries -name "hyph_*\.dic" | xargs -I '{}' cp '{}' .
sed -i 's/\r$//' *.dic
rename -- -Latn _Latn *-Latn.dic