ash and printenv problem
walter harms
wharms at bfs.de
Sun Sep 10 15:36:00 UTC 2006
Hi list,
while testing ash i notices the following problem:
ash ash-vartest.sh
set + function
printenv
exported + printenv
exported
sh ash-vartest.sh
set + function
test
printenv
test
exported + printenv
exported
clearly ash uses the variables in a way not visible to printenv
and different to sh. no clue why.
re,
walter
/* test program */
f()
{
printenv FOO
}
echo "set + function"
FOO=test f
echo "printenv"
printenv FOO
echo "exported + printenv"
export FOO=exported
printenv FOO
More information about the busybox
mailing list