10 lines
121 B
Bash
10 lines
121 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
while read l; do
|
||
|
e=${!l}
|
||
|
if [ ! -z $e ]; then
|
||
|
>&2 echo "saving env var $l = $e"
|
||
|
echo "$l=$e"
|
||
|
fi
|
||
|
done
|