4/29/2009 ~ 1 min read

Unbracket Anything


Interesting, you can remove everyhing between bracktes (<>). It works with html and I think it handle xml but didn’t test that for my homework. sed ‘s/< [^>]*//g’ It finds the first < character and then deletes all text up to and including the next > character. Interesting. You could rehtml stuff but it might take several different scripts. There may be better ways to rehtml stuff.


Headshot of Matthew Hippely

Hi, I’m Matthew. I live in Ventura County, and spend my time thinking about systems, software, and how things evolve over time.

You can find me on GitHub, LinkedIn, or read more about me here.