I have a configuration file that needs to be incremented daily.
This file contains multiple entries such as the one above that contains different values. I need to open the property file search for this specific entry, and increment the value by +1 each day for a total of 30 days.
report.lookback.days.to.retrieve.data=61 report.lookback.days.to.retrieve.data=62 report.lookback.days.to.retrieve.data=63
I am new to scripting, and I'm not sure what method would accomplish this task.
Should I use awk, sed, implement a counter, or a combination of methods?