From ddcf27e1c8f2baebbc7017a9e32174d08b4bb993 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 28 Feb 1997 19:51:39 +0000 Subject: [PATCH] Add lt_LN.ISO_8859-2.src. Use '.for' loop from make(1), not sh(1) 'for' loops. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Submitted by: Slaven ReziƦ (TomiƦ) --- share/mklocale/Makefile | 33 ++++++--- share/mklocale/la_LN.ISO8859-2.src | 79 ++++++++++++++++++++++ share/mklocale/la_LN.ISO_8859-2.src | 79 ++++++++++++++++++++++ share/mklocale/lt_LN.ISO_8859-2.src | 79 ++++++++++++++++++++++ usr.bin/mklocale/data/Makefile | 33 ++++++--- usr.bin/mklocale/data/lt_LN.ISO_8859-2.src | 79 ++++++++++++++++++++++ 6 files changed, 362 insertions(+), 20 deletions(-) create mode 100644 share/mklocale/la_LN.ISO8859-2.src create mode 100644 share/mklocale/la_LN.ISO_8859-2.src create mode 100644 share/mklocale/lt_LN.ISO_8859-2.src create mode 100644 usr.bin/mklocale/data/lt_LN.ISO_8859-2.src diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile index 59f51391f7b7..d8ee4f0025ea 100644 --- a/share/mklocale/Makefile +++ b/share/mklocale/Makefile @@ -1,10 +1,16 @@ -# $Id: Makefile,v 1.5 1997/02/22 19:56:11 peter Exp $ +# $Id: Makefile,v 1.6 1997/02/22 22:50:54 ache Exp $ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= ja_JP.EUC ko_KR.EUC lt_LN.ASCII lt_LN.ISO_8859-1 \ - ru_SU.KOI8-R ru_SU.CP866 +LOCALES= ja_JP.EUC \ + ko_KR.EUC \ + lt_LN.ASCII \ + lt_LN.ISO_8859-1 \ + lt_LN.ISO_8859-2 \ + ru_SU.CP866 \ + ru_SU.KOI8-R + LOCALEDIR= ${DESTDIR}/usr/share/locale .if exists(${.OBJDIR}/..) @@ -18,6 +24,8 @@ LATIN1LINKS = \ fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ pt_PT sv_SE +LATIN2LINKS = hr_HR + .SUFFIXES: .src .out .src.out: @@ -26,12 +34,17 @@ LATIN1LINKS = \ all: ${LOCALES:S/$/.out/g} afterinstall: - for locale in ${LOCALES}; do \ - ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$locale.out ${LOCALEDIR}/$$locale/LC_CTYPE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \ - done +.for locales in ${LOCALES} + ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${locales}.out ${LOCALEDIR}/${locales}/LC_CTYPE +.endfor +.for link in ${LATIN1LINKS} + ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_CTYPE +.endfor +.for link in ${LATIN2LINKS} + ln -fs ../lt_LN.ISO_8859-2/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-2/LC_CTYPE +.endfor .include diff --git a/share/mklocale/la_LN.ISO8859-2.src b/share/mklocale/la_LN.ISO8859-2.src new file mode 100644 index 000000000000..3f9ad913e06a --- /dev/null +++ b/share/mklocale/la_LN.ISO8859-2.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_2 Locale + * + * $Id$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-2 Latin-2 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa2 0xa4 0xa7 0xa8 0xad 0xb0 0xb2 0xb4 0xb7 0xb8 0xbd + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xaf 0xbf> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xaf 0xaf> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xaf> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xdf : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10> diff --git a/share/mklocale/la_LN.ISO_8859-2.src b/share/mklocale/la_LN.ISO_8859-2.src new file mode 100644 index 000000000000..3f9ad913e06a --- /dev/null +++ b/share/mklocale/la_LN.ISO_8859-2.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_2 Locale + * + * $Id$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-2 Latin-2 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa2 0xa4 0xa7 0xa8 0xad 0xb0 0xb2 0xb4 0xb7 0xb8 0xbd + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xaf 0xbf> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xaf 0xaf> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xaf> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xdf : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10> diff --git a/share/mklocale/lt_LN.ISO_8859-2.src b/share/mklocale/lt_LN.ISO_8859-2.src new file mode 100644 index 000000000000..3f9ad913e06a --- /dev/null +++ b/share/mklocale/lt_LN.ISO_8859-2.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_2 Locale + * + * $Id$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-2 Latin-2 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa2 0xa4 0xa7 0xa8 0xad 0xb0 0xb2 0xb4 0xb7 0xb8 0xbd + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xaf 0xbf> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xaf 0xaf> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xaf> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xdf : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10> diff --git a/usr.bin/mklocale/data/Makefile b/usr.bin/mklocale/data/Makefile index 59f51391f7b7..d8ee4f0025ea 100644 --- a/usr.bin/mklocale/data/Makefile +++ b/usr.bin/mklocale/data/Makefile @@ -1,10 +1,16 @@ -# $Id: Makefile,v 1.5 1997/02/22 19:56:11 peter Exp $ +# $Id: Makefile,v 1.6 1997/02/22 22:50:54 ache Exp $ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= ja_JP.EUC ko_KR.EUC lt_LN.ASCII lt_LN.ISO_8859-1 \ - ru_SU.KOI8-R ru_SU.CP866 +LOCALES= ja_JP.EUC \ + ko_KR.EUC \ + lt_LN.ASCII \ + lt_LN.ISO_8859-1 \ + lt_LN.ISO_8859-2 \ + ru_SU.CP866 \ + ru_SU.KOI8-R + LOCALEDIR= ${DESTDIR}/usr/share/locale .if exists(${.OBJDIR}/..) @@ -18,6 +24,8 @@ LATIN1LINKS = \ fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \ pt_PT sv_SE +LATIN2LINKS = hr_HR + .SUFFIXES: .src .out .src.out: @@ -26,12 +34,17 @@ LATIN1LINKS = \ all: ${LOCALES:S/$/.out/g} afterinstall: - for locale in ${LOCALES}; do \ - ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$locale.out ${LOCALEDIR}/$$locale/LC_CTYPE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_CTYPE; \ - done +.for locales in ${LOCALES} + ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${locales}.out ${LOCALEDIR}/${locales}/LC_CTYPE +.endfor +.for link in ${LATIN1LINKS} + ln -fs ../lt_LN.ISO_8859-1/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_CTYPE +.endfor +.for link in ${LATIN2LINKS} + ln -fs ../lt_LN.ISO_8859-2/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-2/LC_CTYPE +.endfor .include diff --git a/usr.bin/mklocale/data/lt_LN.ISO_8859-2.src b/usr.bin/mklocale/data/lt_LN.ISO_8859-2.src new file mode 100644 index 000000000000..3f9ad913e06a --- /dev/null +++ b/usr.bin/mklocale/data/lt_LN.ISO_8859-2.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_2 Locale + * + * $Id$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-2 Latin-2 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa2 0xa4 0xa7 0xa8 0xad 0xb0 0xb2 0xb4 0xb7 0xb8 0xbd + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xaf 0xbf> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xaf 0xaf> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xaf> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xdf : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10>