| Anonymous | Login | Signup for a new account | 11-10-2008 11:08 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 | ||||
| 0001110 | [BusyBox] Standards Compliance | major | always | 12-06-06 03:08 | 12-09-06 18:54 | ||||
| Reporter | nielchiano | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | won't fix | ||||||
| Status | closed | Product Version | 1.2.x | ||||||
| Summary | 0001110: sed and grep don't work inside backticks is static-busybox | ||||||||
| Description |
I've also posted this bug here: http://bugs.gentoo.org/show_bug.cgi?id=157118 [^] Short copy-paste: busybox sh TEST="`echo abc | sed -n '/abc/p'`"; echo $TEST # gives abc, as expected busybox.static sh TEST="`echo abc | sed -n '/abc/p'`"; echo $TEST # gives empty line!!!!!!! This bug hit me when trying to make an initramfs (hence the need for the static binary); it took me 3 hours to pin it down to the usage of sed INSIDE backticks (or the $() construct). This also fails: echo `echo abc | grep abc` this works: echo `echo abc | awk '/abc/p'` I tried this bug on 3 different machines and was able to reproduce it on version 1.2.2.1; this bug does not exist on 1.1.0 and 1.2.1 |
||||||||
| Additional Information | I'm using the default gentoo ebuild; so I don't know very much about all options used at compile time; But I can forward the question to the gentoo-guys, or try to find the answer myself. | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001859) vda 12-09-06 18:54 |
Known problem with static build with glibc. We have a nice explanatory warning about that. |
| Copyright © 2000 - 2006 Mantis Group |