[PLUG] requesting help with sed...
netvaibhav at gmail.com
Wed Nov 18 00:20:36 IST 2009
On Tue, Nov 17, 2009 at 2:05 PM, Sameer Oak <samoak at gmail.com> wrote:
> I need help with a particular sed pattern.
> I am maintaining a version file wherein I need to search for a line that
> starts with "build_number_i".
> Following are the contents of the file:
> Each line is of the form <variable_name>=<value>
> I want to increment value of variables "build_number" and "build_id" by 1.
> How can I achieve it with sed?
I would say sed is not the right tool for this job, although you can
do some hacks to increment a number:
More information about the Plug-mail