mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-27 06:36:29 +08:00
21 lines
370 B
Bash
Executable File
21 lines
370 B
Bash
Executable File
#!/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
|