#!/bin/bash
cat CHANGELOG.md | {
s=-1
while read line; do
if [ "${line:0:1}" == "-" ]; then
line=" $line"
fi
if [ "${line:0:1}" == "2" ]; then
let "++s"
if [ $s -eq 1 ]; then
exit
else
echo "$line"
done
}