httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in
Date Sat, 05 Apr 2003 14:09:46 GMT
Justin Erenkrantz wrote:

> patch_sed="/#define.*$3_PATCH_VERSION/s/^.*\([0-9][0-9]*\).*$/\1/p"

The above substitution, given the string "45-dev", returns "5".

Changing the substitution to \([0-9][0-9a-z-]*\) returns "5-dev", which 
is still wrong.

Can anyone tell me why the above would strip the "4" off of the front of 
"45-dev"?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


Mime
View raw message