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.

9 lines
301 B

#!/usr/bin/env bash
sed -i -e 's/<header>//'\
-e 's/<\/header>//'\
-e 's/<body>/<body>\n<\!--#include file=\"\/en\/nav.php\" -->\n/'\
-e 's/<\/body>/<\/body>\n<!--#include file=\"\/en\/footer.cgi\" -->\n/'\
_output/blog/index.html
sed -i -n '1,/<style>/p;/<\/style>/,$p' _output/blog/index.html