Plan 9 from Bell Labs’s /usr/web/sources/contrib/yk/dist/9legacy/apply
#!/bin/rc flag x + for(i){ test -e $i || \ hget -o $i http://www.9legacy.org/9legacy/patch/$i @{builtin cd / && ape/patch -p1} <$i && \ mv $i applied/ }