htmltools

Various command line tools to transform HTML documents
git clone git://git.entf.net/htmltools
Log | Files | Refs | README | LICENSE

htmlunwrap.1.scd (579B)


      1 HTMLUNWRAP(1)
      2 
      3 # NAME
      4 
      5 htmlunwrap - unwrap elements in an HTML document
      6 
      7 # SYNOPSIS
      8 
      9 *htmlunwrap* SELECTOR [_FILE_]...
     10 
     11 # DESCRIPTION
     12 
     13 Reads each file in sequence and removes all elements matching SELECTOR. The
     14 children of those elements will be added to their grandparents, thus unwrapping
     15 them from their previous parent element. Prints resulting documents to standard
     16 output. If no FILE is given or FILE is -, read standard input.
     17 
     18 If any FILE cannot be processed, a message prefixed with the FILE name will be
     19 written to standard error.
     20 
     21 # AUTHOR
     22 
     23 Lukas Henkel <lh@entf.net>