so basically I wish to add the couple of lines after finding the line printf("hello buddy..\n"); in the text file 'file.txt'example::func1(xop*){ int n ; printf("hello buddy..\n"); } file.txt after: example::func1(xop*){ int n; printf("hello buddy..\n"); char *point = new char[10]; printf("complete..\n"); }
In reply to inserting few lines after matching a string? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |