3 | sed -E 's|([^/ ]+/[^#]+)#([0-9]+)|[\1#\2](https://github.com/\1/issues/\2)|g' \
4 | sed -E 's| #([0-9]+)| [#\1](https://github.com/joyent/node/issues/\1)|g' \
5 | sed -E 's|([0-9]+\.[0-9]+\.[0-9]+),? Version ([0-9]+\.[0-9]+\.[0-9]+)|<a id="v\2"></a>\
7 | sed -E 's|(,? ?)([0-9a-g]{6})[0-9a-g]{34}|\1[\2](https://github.com/joyent/node/commit/\2)|g' \
8 | ./node tools/doc/node_modules/.bin/marked > out/doc/changelog-body.html
10 cat doc/changelog-head.html \
11 out/doc/changelog-body.html \
12 doc/changelog-foot.html \
13 | sed -E 's|__VERSION__|v'$(python tools/getnodeversion.py)'|g' \
14 > out/doc/changelog.html
16 rm out/doc/changelog-body.html