mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 12:41:06 +00:00
0f596d2504
This reverts commit070e1c859f
, reversing changes made to3faeda67bb
.
9 lines
157 B
Bash
Executable file
9 lines
157 B
Bash
Executable file
#!/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
|