SyntaxFix
Write A Post
Hire A Developer
Questions
Just add the number of occurrence at the end:
sed s/#include/#include "newfile.h"\n#include/1