[Bug 353] New: incorrect escaping of backslashes in strings with hush

bugzilla at busybox.net bugzilla at busybox.net
Thu May 28 05:14:57 UTC 2009


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

           Summary: incorrect escaping of backslashes in strings with hush
           Product: Busybox
           Version: 1.14.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: vapier at gentoo.org
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


if we do:
f="a\nb\nc\n"
echo "$f"
printf "$f"

we should first see:
a\nb\nc\n

and then:
a
b
c

but with hush, we get:
a\\nb\\nc\\n
a\nb\nc\n


-- 
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