jarã®diffãåãé¢æ°
jarã®diffãåãé¢æ°ãæ¸ãã¾ãããããã¯ã¢ããã®æ¤è¨¼ã§ä½¿ãäºå®ãã³ãã³ã並ã¹ã¦ãã ãããããã¨ããããªã¼!
diff_jar(){ echo "diff "$2/$1" "$3/$1 mkdir ./a mkdir ./b cp $2/$1 ./a cp $3/$1 ./b cd ./a jar xvf $1 > /dev/null rm $1 cd ../ cd ./b jar xvf $1 > /dev/null rm $1 cd ../ diff -r ./a ./b rm -rf ./a rm -rf ./b }
使ãæ¹ã
diff_jar "<ãã¡ã¤ã«å>" "<jarç½®ãå ´1>" "<jarç½®ãå ´2>"
å®è¡çµæã§ãã
diff ./aaa/xxx.jar ./bbb/xxx.jar diff -r ./a/META-INF/MANIFEST.MF ./b/META-INF/MANIFEST.MF 9c9 < Implementation-Version: 200802012317 --- > Implementation-Version: 200803192312