0

I am reading a properties file having different paths like

path=/home/xxx/yyy

path=/home/zzz

from a shell script. I am using

. /home/test.properties

To read and $path to print to get path into a variable. But as obvious it is overwriting the path variable. Can someone suggest a better way to get these paths into variables in script. Thanks.

EDIT: I am using bash.

0 Answers0