projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-2.01.tar.gz.
[platform/upstream/bash.git]
/
support
/
printenv.sh
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