1 2 3
#!/bin/sh test -f "`kpsewhich startex.fmt`" || fmtutil --byfmt startex exec tex -fmt=startex ${1+"$@"}