#!/bin/sh cache() { name="/tmp/librune/rtype/$(basename "$1")" if test ! -f "$name" then mkdir -p /tmp/librune/rtype wget -q "$1" -O "$name" fi } set -e cd "${0%/*}/.." exec >include/internal/rtype/nt.h readonly URL='https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedNumericType.txt' cache "$URL" cat <