1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh # * help # Obtiene los comando habilitados # ssh git@host help set -e # Gets the initial comment after the shebeng from every git-shell-command for c in "$(dirname "$0")"/*; do sed -rn '2,/^[^#]/s/^# ?//p' "$c" echo done