1 2 3 4
#!/bin/sh jarpath=`kpsewhich --progname=texosquery --format=texmfscripts texosquery.jar` java -jar "$jarpath" "$@"