diff scripts/list-all-switches @ 234:eba3744fb238

Added my set of helper scripts. Removes the spell makefile target as it was not use{d,ful} anyway. Btw: I should have ran script/doubles before I printed the document. :-/
author markus schnalke <meillo@marmaro.de>
date Mon, 16 Jul 2012 11:23:30 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/list-all-switches	Mon Jul 16 11:23:30 2012 +0200
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# List (approximately) all documented switches of all mmh programs.
+# Based on the man pages.
+
+for i in "$@" ; do
+        echo
+        echo $i
+        sed '/^\.ad/q' $i | grep 'B.*\\-'|sort
+done