There is a problem: two files: file1 and file2, there are some cotent in file1 will be replaced by file2. The replaced structure as flows
module name1
.......
.......
endmodule
now, the same structure in file2 will replace that in file1. module name1/endmoule are the keys. Write a shell script to complete. Bash or c-shell. Thanks very much