meillo@234: #!/bin/sh meillo@234: # meillo@234: # List all switches of all mmh programs. meillo@234: # Based on the source code. meillo@234: meillo@234: for i in "$@" ; do meillo@234: echo "$i" meillo@234: sed -n '/^#define/d;/struct swit [a-z]*switches\[\]/,/^};/p' "$i" meillo@234: echo meillo@234: done