I am stuck up with an issue.
I have a variable $path
which has the path to a file, say /usr/hello.txt
Now /usr/hello.txt file has path to other files.
Example: The contents of /usr/hello.txt is as follows
view_cfg_dir = /usr/TextPass/cfg/
url = http://localhost/tpx
user = statview
pwd_md5 = 93211cdee930eb4e1f7d36558a361145
Now there is another file in
namely export.cfg whose contents are as below
pid = /var/hello/pid
report_cfg = /var/_export/config
report_tmp = /var/_export/tmp
I want the value of report_cfg to be stored in a variable.
How do I implement this functionality.
Your help is highly appreciated.