Created
August 4, 2017 20:14
-
-
Save marcosnakamine/fa9d4fe6aca8a2349d02fe8031c45ee3 to your computer and use it in GitHub Desktop.
Shell - Remove html tag from 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
cat file.txt | tr "\n" " " | sed "s/<tag>.*<\/tag>//" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment