Skip to content

Instantly share code, notes, and snippets.

@kirpachov
Created April 20, 2023 10:26
Show Gist options
  • Save kirpachov/d14d713ab98f83a74d4e762809cb7570 to your computer and use it in GitHub Desktop.
Save kirpachov/d14d713ab98f83a74d4e762809cb7570 to your computer and use it in GitHub Desktop.
Remove html columns in bash
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