[Bug 5132] New: ash: replace of escaped "/" does not work.

bugzilla at busybox.net bugzilla at busybox.net
Sat Apr 21 18:18:53 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=5132

           Summary: ash: replace of escaped "/" does not work.
           Product: Busybox
           Version: 1.19.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: d77190 at mail.ru
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


basic symbols:
bash:
$ VAR="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ; EE=${VAR//a/b}; echo $EE
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
busybox ash:
$ VAR="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ; EE=${VAR//a/b}; echo $EE
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

escaped special symbols:
bash:
$ VAR="//////////////////////////////////" ; echo ${VAR//\//\\\/}
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
busybox ash:
$ VAR="//////////////////////////////////" ; echo ${VAR//\//\\\/}
//////////////////////////////////

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list