I've two files the one. One is called file1.txt and the other is person1.txt both. Both of them containscontain some lines of text
file1.txt
word2
word3
word4
word5
word6
word7
word8
word9
person1.txt as in the following example:
givi sixarulidze
file1.txtword1 word2 word3 word4 word5 word6 word7 word8 word9person1.txtgivi sixarulidze
whatWhat I want to do is to replace first seven lines of code in file1.txt with the content of person1.txt
target output:
file1.txt
givi sixarulidze
word8
word9
- Desired output:
givi sixarulidze word8 word9
any solutions will be appericatedHow can I achieve that?