cleanup, patch=1;pnum=1 (if patch file is endwith ".patch", patch=1;pnum=1 is default)