1 kumpf 1.1 #!/usr/bin/sh
2
3 # Check if 0 arguments are specified
4 if [ $# -eq 0 ]; then
5 print -u2 "You must specify input jar file name"
6 print -u2 "Usage: jarversion cimclient.jar"
7 exit 1
8 else
9 jarfile=$1
10 fi
11 jar xf $jarfile META-INF/MANIFEST.MF
12 grep "Name:" META-INF/MANIFEST.MF
13
|