Fix script omitting security section

This commit is contained in:
Zach Borboa
2016-10-18 00:58:29 -07:00
parent cbfbd66af0
commit 9ad5458e25
+1 -1
View File
@@ -3,7 +3,7 @@ before=$(head -n $(
perl -pe 's/^(\d+):.*/\1/') "README.md")
after=$(tail -n +$(
grep --context="0" --line-number --max-count="1" "### Contribute" "README.md" |
grep --context="0" --line-number --max-count="1" "### Security" "README.md" |
perl -pe 's/^(\d+):.*/\1/') "README.md")
echo "${before}" > "README.md"