whoops
This commit is contained in:
parent
8293fd9c99
commit
64511acab2
@ -8,7 +8,7 @@ if [ -f index.md ]; then
|
|||||||
perl -i -p0e 's/START_TOC.*END_TOC/`cat temp.md`/se' index.md
|
perl -i -p0e 's/START_TOC.*END_TOC/`cat temp.md`/se' index.md
|
||||||
# sed -i "s/START_TOC.*END_TOC/\${toc}/g" index.md
|
# sed -i "s/START_TOC.*END_TOC/\${toc}/g" index.md
|
||||||
else
|
else
|
||||||
echo -e "# Index \n\n START_TOC \n $toc \n END_TOC" > index.md
|
echo -e "# Index\n\nSTART_TOC\n\n$toc\nEND_TOC" > index.md
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm temp.md
|
rm temp.md
|
||||||
|
|||||||
Reference in New Issue
Block a user