A header
file is produced by running the main script and its content changes anytime I run the program . I want to assign the content of header file to other three files as their header. The content of other three files should not change except their header. For example for file1
header content
file1 content
for file2
header content
file2 content
How it is done?
Note: Please consider that the program runs many times so the header must be overwritten not many headers.