1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh LIBS=/usr/share/java/kaitai-struct-compiler/* LIBS_STR="" for f in $LIBS do LIBS_STR="$LIBS_STR:$f" done java -cp "$LIBS_STR" io.kaitai.struct.Main "$@"