grunt-excision (npm): Extract parts from one file into another.
Keywords: excision|gruntplugin|lines|offset|regexp|slice|extract