Created
March 19, 2020 16:08
-
-
Save henrahmagix/b6d1aa192dfdc86d0a3d12b0f5291d40 to your computer and use it in GitHub Desktop.
Pull the html out of an eml file
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
sed -n '/DOCTYPE/,/<\/html>/p;' $1 | perl -pe 's/=\r\n//g' | perl -pe 's/3D//g' | perl -pe 's/=[A-Z\d]{2}//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment