mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
use sed rather than tr to uppercase letters. tr was dropping the Á
letter for some reason. The sed feature I'm using is a gnu extension but has the advantage of working. Should probably do this for all languages and in the info files.
This commit is contained in:
parent
23a4a7ef64
commit
299c84bb2b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ SOURCEDICT ?= $(XWDICTPATH)/Slovak/slovnik_scrabble.dict.gz
|
||||||
|
|
||||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||||
zcat $< | tr -d '\r' | \
|
zcat $< | tr -d '\r' | \
|
||||||
tr [aáäbcčdďeéfghiíjklĺľmnňoôóprŕsštťuúvxyýzž] [AÁÄBCČDĎEÉFGHIÍJKLĹĽMNŇOÔÓPRŔSŠTŤUÚVXYÝZŽ] | \
|
sed 's,.,\U\0,g' | \
|
||||||
grep '^[AÁÄBCČDĎEÉFGHIÍJKLĹĽMNŇOÔÓPRŔSŠTŤUÚVXYÝZŽ]*$$' | \
|
grep '^[AÁÄBCČDĎEÉFGHIÍJKLĹĽMNŇOÔÓPRŔSŠTŤUÚVXYÝZŽ]*$$' | \
|
||||||
gzip -c > $@
|
gzip -c > $@
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue