help 245 B

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