I’d like to replace (as an example) the text of lines 5-15 in a file with the text from lines 6-15 from another file. But I’d like to do this over about 2000 files, and would rather not have to do it manually.
I could script something in perl, but I’d like to try to do it with any built-ins possible.
I’d probably use sed
or Perl
but
edworks too.