I am sourcing the property files like . PATH_TO_PROPERTYFILE
. If, after reading the values I change one, how do I update the the original file to reflect that modified value?
I tried $SOURCED_ARRY_NAME = ("${TEMP_ARRAY[@]}")
but this did not help. Also i want the changes to updated back in the properties file. This is basically accessing the array from property file and modifying it.
file name format : abc.properties
services_deployed=()
xyzapps_deployed=()