structural grep/diff/substitution for html on cmdline