Simple sed script to edit property value in config file:
1 |
sed -i "s/^\s*myparam\s*=\s*.*/myparam=mynewvalue/g" test.txt |
Simple sed script to edit property value in config file:
1 |
sed -i "s/^\s*myparam\s*=\s*.*/myparam=mynewvalue/g" test.txt |