[BusyBox 0002024]: Command substitution in busybox-1.8.2 does not work

bugs at busybox.net bugs at busybox.net
Sun Feb 3 03:35:46 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2024 
====================================================================== 
Reported By:                Craig
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   2024
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             02-02-2008 19:35 PST
Last Modified:              02-02-2008 19:35 PST
====================================================================== 
Summary:                    Command substitution in busybox-1.8.2 does not work
Description: 
I have busybox in /tmp/myroot

# mount -t proc proc /tmp/myroot/proc/
# chroot /tmp/myroot/ /bin/sh
/ # sed -n 's/^ *\([0-9]\+\) \+misc$/\1/p' /proc/devices
10
/ # A=`sed -n 's/^ *\([0-9]\+\) \+misc$/\1/p' /proc/devices`
/ # echo $A
                                
/ # A=`ls`
/ # echo $A
bin dev devmap_mknod.sh etc linuxrc new proc usr
/ # 

Somehow the substitution does not work for the sed line, any hints? What's
wrong here? I'm desperate :(

If interested, also see:
http://www.mail-archive.com/busybox@busybox.net/msg02975.html
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-02-08 19:35  Craig          New Issue                                    
02-02-08 19:35  Craig          Status                   new => assigned     
02-02-08 19:35  Craig          Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list