bin/mutt-html2txt@fe6ccd1afb11
bin/mutt-html2txt
Fri, 10 Nov 2023 01:31:38 -0600
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 10 Nov 2023 01:31:38 -0600
- changeset 1134
- fe6ccd1afb11
- parent 564
-
81f1da7a57e1
- permissions
- -rwxr-xr-x
Version-gate tmux popup (>= 3.2)
#!/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