How to create file from terminal, with specific number of empty lines; and append text to specific ranges of lines? #commandline #files #sed

How to create file from terminal, with specific number of empty lines; and append text to specific ranges of lines?
(1) How to create a file from terminal, with specific number of empty lines; and then (2) append different strings to specific ranges of lines? The following command (from previous question): sed -...