view scripts/list-all-switches @ 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 (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