bin/mutt-html2txt@be3938b95ee6
bin/mutt-html2txt
Fri, 28 Jan 2022 14:41:33 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 28 Jan 2022 14:41:33 -0600
- changeset 974
- be3938b95ee6
- parent 564
-
81f1da7a57e1
- permissions
- -rwxr-xr-x
prefer solargraph over typeprof
#!/bin/sh
set -eu
LINKS="links -html-tables 0 -html-image-names 0 -html-margin 0"
FILE=${1:--}
[ "$FILE" != '-' ] &&
exec $LINKS -dump $FILE
TMPHTML="$(mktemp).html"
cat > $TMPHTML
$LINKS -dump $TMPHTML
rm -f $TMPHTML