Mercurial > docs > master
view scripts/list-all-switches-code @ 236:49d3aa0d128a default tip
style: Removed unused macro code.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 16 Jul 2012 11:31:25 +0200 |
parents | eba3744fb238 |
children |
line wrap: on
line source
#!/bin/sh # # List all switches of all mmh programs. # Based on the source code. for i in "$@" ; do echo "$i" sed -n '/^#define/d;/struct swit [a-z]*switches\[\]/,/^};/p' "$i" echo done