docs/master

view scripts/list-all-switches-code @ 236:49d3aa0d128a

style: Removed unused macro code.
author markus schnalke <meillo@marmaro.de>
date Mon, 16 Jul 2012 11:31:25 +0200
parents
children
line source
1 #!/bin/sh
2 #
3 # List all switches of all mmh programs.
4 # Based on the source code.
6 for i in "$@" ; do
7 echo "$i"
8 sed -n '/^#define/d;/struct swit [a-z]*switches\[\]/,/^};/p' "$i"
9 echo
10 done