ALL,
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:
build_type_i=i
build_number_i=1
branch_name_i=trunk
build_id=1
Each line is of the form
Hi
The latest and greatest Fedora release ever is out.
https://www.redhat.com/archives/fedora-announce-list/2009-November/msg6.html
yum-presto by default, 3D support for ATI cards via a free and open
source driver, Moblin, GNOME Shell, hybrid live images, open source
Broadcom firmware,
On Tue, Nov 17, 2009 at 2:05 PM, Sameer Oak sam...@gmail.com wrote:
ALL,
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:
build_type_i=i
build_number_i=1
I want to increment value of variables build_number and build_id by 1.
Can you use awk? You will have to change the field delimiter.
___
Pune GNU/Linux Users Group Mailing List