aboutsummaryrefslogtreecommitdiff
path: root/test/gen-test-data
blob: 12ee11e08826db5e6ff43b5fa60bbc2696c9fd2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

download()
{
	curl -sS "https://www.unicode.org/Public/15.1.0/ucd/$1"
}

download 'auxiliary/WordBreakTest.txt' \
| sed -En 's/\s+//g; s/÷?#.*//g; /./p' >wnext.in