docs/master
annotate scripts/list-all-switches @ 236:49d3aa0d128a
style: Removed unused macro code.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 16 Jul 2012 11:31:25 +0200 |
parents | |
children |
rev | line source |
---|---|
meillo@234 | 1 #!/bin/sh |
meillo@234 | 2 # |
meillo@234 | 3 # List (approximately) all documented switches of all mmh programs. |
meillo@234 | 4 # Based on the man pages. |
meillo@234 | 5 |
meillo@234 | 6 for i in "$@" ; do |
meillo@234 | 7 echo |
meillo@234 | 8 echo $i |
meillo@234 | 9 sed '/^\.ad/q' $i | grep 'B.*\\-'|sort |
meillo@234 | 10 done |