[BusyBox 0001047]: ash uses the variables in a way not visible to printenv

bugs at busybox.net bugs at busybox.net
Sun Sep 24 12:54:56 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1047 
====================================================================== 
Reported By:                walter
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1047
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             09-24-2006 05:54 PDT
Last Modified:              09-24-2006 05:54 PDT
====================================================================== 
Summary:                    ash uses the variables in a way not visible to
printenv
Description: 
clearly ash uses the variables in a way not visible to printenv
and different to sh. the example shows that only if variables are
exported
showup with printenv.

#/* test program */
f()
{
printenv FOO
}

echo "set + function"
FOO=test f
echo "printenv"
printenv FOO

echo "exported + printenv"
export FOO=exported
printenv FOO
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-24-06 05:54  walter         New Issue                                    
09-24-06 05:54  walter         Status                   new => assigned     
09-24-06 05:54  walter         Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list