view TOOLS/subfont-c/encodings/charmap2enc @ 9316:7a0d466a51a8

The patch add a library detection to configure and the usage of the detected libraries in Makefile. based on patch by Alexander.Gottwald@informatik.tu-chemnitz.de
author arpi
date Fri, 07 Feb 2003 18:56:55 +0000
parents 842c29861e25
children
line wrap: on
line source

#!/usr/bin/awk -f
# only for mostly 2-byte encodings like euc-kr

$2~"^/x..$" {
	c = substr($2, 3, 2)
	if (c<"80")
	    print substr($1, 3, 4) "\t" c
}
$2~"^/x../x..$" {
	print substr($1, 3, 4) "\t" substr($2, 3, 2) substr($2, 7, 2)
}