Mercurial > masqmail
diff devel/list-versions @ 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 | 7b70bf4f1f42 |
children |
line wrap: on
line diff
--- a/devel/list-versions Thu Dec 09 10:57:01 2010 -0300 +++ b/devel/list-versions Thu Dec 09 10:57:40 2010 -0300 @@ -10,4 +10,5 @@ printf "NEWS:" sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' NEWS grep '^\.TH' /dev/null man/*.[0-9] -) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~' +#) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~' +) | awk -F: '{ file=$1; match($0, /[0-9]\.[0-9]+\.[0-9]+(-[A-Za-z0-9_+-]+)?/); print(substr($0, RSTART, RLENGTH) " " $1); }'