blob: 7c7956f89b82cd86700e58c3992f8e4c7c768457 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
#
# Usage: html-to-text input encoding
#
# This is just a layer of indirection so the html-to-text utility can
# be changed in a central location.
in="$1"
encoding=$2
exec elinks -dump -dump-charset $encoding -no-references -no-numbering "$in"
|