Hi,
I am new to the shell script please I need help for following question.
I have properties file name called "com.test.properties" I have No of key values in this properties.
com.person.name = xyz
com.person.age = 55
com.person.address = hello
I want read this properties but i have other properties also but i want read only
above properties.
I tried in the following way. but it's not working. because key is having .
#!/bin/sh
# Sample shell script to read and act on properties
# source the properties:
. com.test.properties
# Then reference then:
echo $com.person.name;
Please any one know any other way help thanks in advance
Thanks
Venu J