cat ../CHANGELOG.md | awk '
BEGIN {
listBegan=0
latest=1
}
/^\s*##/ {
if(!latest) {
listBegan=0
print " "
print " "
}
latest=0
cmd ="date \"+%Y-%m-%d\" -d \""substr($3,2,2)" "$4" "substr($5,0,4)"\""
cmd | getline date
print " Changes for "$2": "substr(s,4,length(s)-5)""
}
/^\s*\* / {
if(!listBegan) {
listBegan=1
print "
"
}
s = ""; for (i = 2; i <= NF; i++) s = s " " $i;
print "
"
print "
Changes for "$2":
" # print "