mirror of https://github.com/lizongying/my-tv.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
370 B
20 lines
370 B
#!/bin/bash
|
|
|
|
in_changelog=false
|
|
|
|
while IFS= read -r line; do
|
|
if [[ "$line" == "## "* ]]; then
|
|
continue
|
|
fi
|
|
|
|
if [[ $in_changelog == false ]] && [[ "$line" == "### "* ]]; then
|
|
in_changelog=true
|
|
continue
|
|
fi
|
|
|
|
if [[ $in_changelog == true ]] && [[ "$line" == "### "* ]]; then
|
|
break
|
|
fi
|
|
|
|
echo "$line"
|
|
done < HISTORY.md
|
|
|