projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8aebd437cc74fef001d2e289c660b17a08a5a2de
[platform/upstream/bash.git]
/
support
/
printenv
1
#! /bin/sh -
2
3
if [ $# -eq 0 ]; then
4
env
5
exit
6
elif eval [ "\${$1-unset}" = "unset" ]; then
7
exit 1
8
else
9
eval echo \$$1
10
exit 0
11
fi