#!/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/jt.h readonly URL='https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedJoiningType.txt' cache "$URL" cat <