| Anonymous | Login | Signup for a new account | 11-10-2008 11:06 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0001047 | [BusyBox] Standards Compliance | minor | always | 09-24-06 05:54 | 02-14-08 08:35 | |||||||
| Reporter | walter | View Status | public | |||||||||
| Assigned To | BusyBox | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | ||||||||||
| Summary | 0001047: 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 |
|||||||||||
| Additional Information |
This is the output with /bin/sh set + function test printenv test exported + printenv exported ------------------------------------- This is the output with bb ash set + function printenv exported + printenv exported |
|||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| Copyright © 2000 - 2006 Mantis Group |