Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 207735

Summary: sys-apps/busybox1.8.2 w/ USE=static - sed not working properly when used with substitution
Product: Gentoo Linux Reporter: Napoleon <napoleonb>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Napoleon 2008-01-27 19:20:30 UTC
As per the title, busybox sed doesn't work when used with variable substitution.

busybox sed works when not used with substitution.

I went back to 1.7.4 and it works as it should.

Reproducible: Always

Steps to Reproduce:
1.# xyz=`busybox echo "test"|busybox sed -e "s/t/r/"`
2.# echo $xyz
3.

Actual Results:  
$xyz is empty

Expected Results:  
echo $xyz should display "rest"

busybox was emerged with the "static" use flag because I need it for my initramfs. I cannot confirm that the flag is causing problems.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-27 19:31:02 UTC
This is WONTFIX per upstream bug [1] and dupe of Bug 157118

[1] http://bugs.busybox.net/view.php?id=1110
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-27 19:51:21 UTC
*** Bug 207740 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2008-01-28 06:05:55 UTC

*** This bug has been marked as a duplicate of bug 157118 ***