I would like to write 8 lines from file1 at the beginning of file2.
My file1 contains the following lines:
$BQ
{ VOL @home }
database daba
relation tcdeatid
copy 1
{ version 0 }
opendb
clear
# other stuff
My file2 contains the following lines:
.lruno := 72
.infno := 1
writedb
clear
My output file will be:
$BQ
{ VOL @home }
database daba
relation tcdeatid
copy 1
{ version 0 }
opendb
clear
.lruno := 72
.infno := 1
writedb
clear
file1is in a different place.