Shell Script - diffpatch