Created
October 9, 2020 15:03
-
-
Save sergebat/ac0559eef7bdf35ec5a6a004219c0dba to your computer and use it in GitHub Desktop.
Shell script to extract body tag from index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sed -n '/<body>/,/<\/body>/{//!p}' dist/index.html > dist/body.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment