tuxpaint-pencil-sharpener/docs/w3m.sh
Bill Kendrick 82ee0dda75 Using w3m for HTML->TXT doc conversion
h/t Shin-ichi for the tip
2023-07-16 10:48:00 -07:00

7 lines
113 B
Bash
Executable file

#!/bin/bash
infile=${@: -1}
args=${@:1:${#}-1}
sed -e "s/<\\/dd>/<br\\/><br\\/><\\/dd>/g" $infile | w3m $args