This commit is contained in:
2026-03-16 16:37:51 -06:00
commit 790ca442b2
9 changed files with 520 additions and 0 deletions

14
jar.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p jdk17
set -euo pipefail
if [ $# -eq 0 ]; then
echo "Usage: ./jar.sh <jar-args...>"
echo "Examples:"
echo " ./jar.sh tf some.jar # list contents"
echo " ./jar.sh tf some.jar | grep ClassName # find a class"
exit 1
fi
jar "$@"