mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-28 15:16:30 +08:00
readme
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user