如何简单计算patch代码变化量?
# How to use the script?
# Please issue the following commands: $cat src/test.patch |grep @@ |./patch_statistic.sh
# We have tested it with u-boot-1.1.6_100ask24x0.patch and kernel patch (patch-3.2-rc4)
# $ cat patch-3.2-rc4 |grep @@ |./patch_statistic.sh
# $ cat u-boot-1.1.6_100ask24x0.patch |grep @@ |./patch_statistic.sh
1