# skip lines not intended for description //,/^$/ d # skip header before introduction 1,/^Introduction/ d # separate and handle overview /.*verview/ i\ /.*verview/ i\ /.*verview/,$ b overview # introduction /^$/ d s/

// /^[ ]*]*>$/ d # headers s,^[ ]*

\([^<]*\).*,\1, t lines # sections s,[ ]*]*>\([^<]*\).*,\1, t lines # items s, *
  • , - , s,[ ]*
  • ,* , t lines # continuation lines s,[ ]*, , :lines # remove embedded HTML s,<[^>]*> *,,g s,^ *$,, # convert HTML character mnemos s, , ,g s,–,-,g s,—,--,g s,…,...,g