summaryrefslogtreecommitdiff
path: root/mantools/dehtml
diff options
context:
space:
mode:
Diffstat (limited to 'mantools/dehtml')
-rwxr-xr-xmantools/dehtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/mantools/dehtml b/mantools/dehtml
new file mode 100755
index 000000000..0b93dc16d
--- /dev/null
+++ b/mantools/dehtml
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+for i
+do
+ case $i in
+ /*) lynx -width=256 -dump file://$i;;
+ *) lynx -width=256 -dump file://`pwd`/$i;;
+ esac
+done | grep -E -v '(file|https?)://'