blob: 1f7623f57e4f75bb363c0319035f7c729795d792 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
version="$1"
if [ -z "$version" ]; then
echo "usage: $0 [unicode version]"
exit 1
fi
url=https://www.unicode.org/Public/$version/ucd/UnicodeData.txt
curl -L $url > UnicodeData.txt
sh ubconfc $1 < UnicodeData.txt > WCsubst.c
|