mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-26 07:58:52 +01:00
add conversion from ISO88591 since the default dict's in that format.
This commit is contained in:
parent
dc807c948a
commit
bb0a79914b
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ SOURCEDICT ?= $(XWDICTPATH)/German/HansGerman.dict.gz
|
|||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||
zcat $< \
|
||||
| tr [a-zäöü] [A-ZÄÖÜ] \
|
||||
| iconv -f iso88591 -t utf8 \
|
||||
| sed 's,.,\U\0,g' \
|
||||
| sed -e 's/ß/SS/g' \
|
||||
| grep '^[A-ZÄÖÜ]*$$' \
|
||||
| gzip -c > $@
|
||||
|
|
Loading…
Add table
Reference in a new issue