transocks/scripts/changes.awk

20 lines
356 B
Awk
Raw Permalink Normal View History

2024-11-01 22:43:08 +07:00
# Get changes of given version number.
{
while (index($0, "## [" version "]") <= 0) {
if (getline <= 0) {
exit
}
}
if (getline <= 0 ) {
exit
}
if (getline <= 0 ) {
exit
}
while (index($0, "## [") <= 0) {
print $0
if (getline <= 0) {
exit
}
}
}