I have two files. I want to insert the content of the first file(file1
) to the second file (file2
) between some codes (second file is a script). For example the second file should look like this
upcode...
#upcode ends here
file1 content
downcode ...
upcode #upcode ends here
and downcode should never change.
How this can be done?