How do I replace the first blank line with two lines of content? I did see a question on replacing multiple blank lines with a single blank line in vim sed but don't quite see how to adapt that. So, for example, if my input file is:
% abd
% def
% jkl
% mno
I would like to have a sed command that replaces just the first blank line with these two lines (one containing ghi and the other containing %):
% abd
% def
% ghi
%
% jkl
% mno