Quick and dirty HTML/XML tag stripper.

It’s quick, it’s dirty, and it’s ugly. Works for me, though.

#include int main() { int c; while(1) { c=getchar(); if (c==EOF) exit(1); if (c != ’<’) putchar©; else while (c != ’>’) { c=getchar(); if (c==EOF) exit(1); } } exit 0; }