hledger/tools/getrelnotes
2024-05-19 09:55:02 -10:00

7 lines
224 B
Bash
Executable File

#!/usr/bin/env bash
# getrelnotes REL - extract the release notes for REL from relnotes.md.
# The main release heading is omitted.
cd "$(dirname $0)"
awk "/^## .*-${1//./'\.'}$/{p=1;next} /^## /{p=0} p" ../doc/relnotes.md