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