I need to do the following. I have two files file1 and file2.
File1 has some variables with !! characters at the begining and the end of the variables like the following
!!EXTERNAL_WEB_ADDRESS!!
File2 has variables with same name but without !! charcaters like
EXTERNAL_WEB_ADDRESS
Now I need to wrtie a script which looks at all bang bang(!!) variables in file 1 (!!EXTERNAL_WEB_ADDRESS!!)and then goes to file 2 and put
!! in front and end of all the similar named variables in file2.
These variable may occur at different positions in file 1 and file 2.
Can anybody suggest a script??
File1 has some variables with !! characters at the begining and the end of the variables like the following
!!EXTERNAL_WEB_ADDRESS!!
File2 has variables with same name but without !! charcaters like
EXTERNAL_WEB_ADDRESS
Now I need to wrtie a script which looks at all bang bang(!!) variables in file 1 (!!EXTERNAL_WEB_ADDRESS!!)and then goes to file 2 and put
!! in front and end of all the similar named variables in file2.
These variable may occur at different positions in file 1 and file 2.
Can anybody suggest a script??