I have a source file say config.properties that contains strings like below
ExchgRate_prop="EDB_NAME=share_exchange SRC_WDS=wds PN=ExchgRate"
Compliance_prop="EDB_NAME=share_compliance SRC_WDS=wca PN=com"
Unitcost_prop=="EDB_NAME=share_unitcost SRC_WDS=wda PN=unit"
I have a shell script that takes project names as input. if i pass ExchgRate to the script i need to get value "EDB_NAME=share_exchange SRC_WDS=wds PN=ExchgRate" If i pass Unitcost then i need to get value "EDB_NAME=share_unitcost SRC_WDS=wda PN=unit"
Any help