Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix script

Status
Not open for further replies.

krishsays

IS-IT--Management
Dec 3, 2004
45
GB
Hi

I need to write a unix script which does the following

--------------------------------------
Properties file

Var1= XXX
Var2= YYY
--------------------------------------
-------------------------

File 1

Var1 = xxxx
Var2= yyyy

-----------------------
This script should search var1 and var2 in properties file and get those values and then search var1 and var2 in file1 and replace its value by the values achieved from first search. There are multiple file1.

Scenario is we want to change the values in properties file and then we want to this change is reflected in all other files( multiple file1 html files) .

Please can somebody help in this.

Thanks,
Krishan

 
Re-post your query on the Unix Scripting Forum. The folks monitoring that Forum are awesome at these issues.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top