masqmail

changeset 295:a6404efa35bc

updated devel/list-versions to detect version number suffixes
author markus schnalke <meillo@marmaro.de>
date Thu, 09 Dec 2010 10:57:40 -0300
parents 066ef6484a59
children e3e1a030c703
files devel/list-versions
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/devel/list-versions	Thu Dec 09 10:57:01 2010 -0300
     1.2 +++ b/devel/list-versions	Thu Dec 09 10:57:40 2010 -0300
     1.3 @@ -10,4 +10,5 @@
     1.4  printf "NEWS:"
     1.5  sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' NEWS
     1.6  grep '^\.TH' /dev/null man/*.[0-9]
     1.7 -) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~'
     1.8 +#) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~'
     1.9 +) | awk -F: '{ file=$1; match($0, /[0-9]\.[0-9]+\.[0-9]+(-[A-Za-z0-9_+-]+)?/); print(substr($0, RSTART, RLENGTH) "	" $1); }'