Created
April 20, 2023 10:26
-
-
Save kirpachov/d14d713ab98f83a74d4e762809cb7570 to your computer and use it in GitHub Desktop.
Remove html columns in bash
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
function get_html(){ | |
echo $(cat $filename | sed 's/<!--.*-->//g' | sed 's/\/*.*\*\///g' | sed 's/\/\/.*$//gm') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment