annotate misc/list-versions @ 221:8742d2cee364

added a note to the long vs. int question in md5.h Solar Designer explained to me in privat conversation that the int had performed much better on some systems and that 16bit ints are very rare. Still I like using the long.
author meillo@marmaro.de
date Fri, 23 Jul 2010 10:53:04 +0200
parents 84bf7a6b6ccd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
216
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
1 #!/bin/sh
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
2 #
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
3 # list the version numbers in several important files
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
4 # run this script before generating a release
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
5
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
6 (
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
7 grep '^AC_INIT' /dev/null configure.*
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
8 printf "Changelog:"
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
9 sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' ChangeLog
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
10 printf "NEWS:"
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
11 sed -n '/^[0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}/{p;q}' NEWS
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
12 grep '^\.TH' /dev/null man/*.[0-9]
84bf7a6b6ccd added misc/list-versions
meillo@marmaro.de
parents:
diff changeset
13 ) | sed 's~\([^:]*\):.*\([0-9]\.[0-9]\{1,\}\.[0-9]\{1,\}\).*~\2 \1~'