diff options
Diffstat (limited to 'printenv')
| -rwxr-xr-x | printenv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/printenv b/printenv new file mode 100755 index 0000000..1ec574a --- /dev/null +++ b/printenv @@ -0,0 +1,7 @@ +if [ -n "$*" ]; then + for i in $*; do + printf '%s=%s\n' "${i}" "${$i}" + done +else + env +fi |
