@@ -88,9 +88,9 @@ case "$extension" in
|
||||
try odt2txt "$path" && { dump | trim; exit 5; } || exit 1;;
|
||||
# HTML Pages:
|
||||
htm|html|xhtml)
|
||||
try w3m -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
|
||||
try lynx -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
|
||||
try elinks -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; }
|
||||
try w3m -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
|
||||
try lynx -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
|
||||
try elinks -dump "$path" && { dump | trim | fmt -s -w "$width"; exit 4; }
|
||||
;; # fall back to highlight/cat if the text browsers fail
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user