Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Off topic: Unix Script Help Needed
All,
I need help in writing a Unix shell script , here is our requirement, my
script looks for master config file say, master.conf having values of the
pattern 'filename' and reads all the entries till end of file,
for each entry in the master.conf there will be o/s file in the same
directory and my script looks for the all the configuration values having
the simple pattern name=value in that file,
based on the name and value I am doing some processing. Can somebody there
provide me a direction to how to achieve this,
logic flow is as follows,
myscript.sh
contents of master.conf
file1.conf
file2.conf
contents of file1.conf
variable1=10
variable2=20
content of file2.conf Received on Mon Jan 15 2001 - 21:01:09 CST