| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function cli_printMailingList { |
| |
| local MAILADDRS='' |
| |
| |
| local ARGSS='' |
| |
| |
| local ARGSL='as-html-link:,docs' |
| |
| |
| |
| |
| local ARGUMENTS='' |
| |
| |
| cli_parseArgumentsReDef "$@" |
| |
| |
| cli_parseArguments |
| |
| |
| eval set -- "$ARGUMENTS" |
| |
| |
| while true; do |
| case "$1" in |
| |
| --docs ) |
| MAILADDRS="${TCAR_BRAND}-docs@$(cli_printUrl --domain)" |
| shift 1 |
| ;; |
| |
| --as-html-link ) |
| MAILADDRS="<a href=\"mailto:${2}\">${2}</a>" |
| shift 2 |
| ;; |
| |
| -- ) |
| |
| shift 1 |
| break |
| ;; |
| esac |
| done |
| |
| |
| echo "$MAILADDRS" |
| |
| } |