You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
- #!/usr/bin/env bash
- # Usage: pyenv echo [-F<char>] VAR
-
- if [[ $1 == -F* ]]; then
- sep="${1:2}"
- echo "${!2}" | tr "${sep:-:}" $'\n'
- else
- echo "${!1}"
- fi
|