From 299c84bb2b5d2b8ae3d90040c13aedcdab942805 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Mon, 13 Dec 2010 18:16:22 -0800 Subject: [PATCH] =?UTF-8?q?use=20sed=20rather=20than=20tr=20to=20uppercase?= =?UTF-8?q?=20letters.=20=20tr=20was=20dropping=20the=20=C3=81=20letter=20?= =?UTF-8?q?for=20some=20reason.=20=20The=20sed=20feature=20I'm=20using=20i?= =?UTF-8?q?s=20a=20gnu=20extension=20but=20has=20the=20advantage=20of=20wo?= =?UTF-8?q?rking.=20=20Should=20probably=20do=20this=20for=20all=20languag?= =?UTF-8?q?es=20and=20in=20the=20info=20files.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xwords4/dawg/Slovak/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/dawg/Slovak/Makefile b/xwords4/dawg/Slovak/Makefile index 8a2ff9062..bb8f7bf38 100644 --- a/xwords4/dawg/Slovak/Makefile +++ b/xwords4/dawg/Slovak/Makefile @@ -29,7 +29,7 @@ SOURCEDICT ?= $(XWDICTPATH)/Slovak/slovnik_scrabble.dict.gz $(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile 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Ž]*$$' | \ gzip -c > $@