Using w3m for HTML->TXT doc conversion
h/t Shin-ichi for the tip
This commit is contained in:
parent
8800a58533
commit
82ee0dda75
4 changed files with 32 additions and 45 deletions
7
docs/w3m.sh
Executable file
7
docs/w3m.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
infile=${@: -1}
|
||||
args=${@:1:${#}-1}
|
||||
|
||||
sed -e "s/<\\/dd>/<br\\/><br\\/><\\/dd>/g" $infile | w3m $args
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue