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

https://askubuntu.com/q/1564680/612

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 -...

Ask Ubuntu