About Me

My photo
Working as Technical Lead in CollabNET software private limited.
Showing posts with label csplit. Show all posts
Showing posts with label csplit. Show all posts

Monday, 16 February 2009

Splitting a patch file

Some times the patch file needs to be splitted to individual files for easy handling.

Below is the command to do that, cut the patch file matching pattern "Index:".

csplit artf21810.diff /Index:/ {*}