[Toybox] [PATCH] sh: pass "\" to the later app

Mingliang HU 胡明亮 mingliang.hu at nio.com
Mon May 29 00:19:54 PDT 2023


Here is failed case for “echo -e "a\n\b\nc\td".
The expected result is:
a
c       d

The current result is:
anbnctd

The patch let sh pass “\” to “echo”. Then it works fine.


Mingliang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230529/f1683d17/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sh-pass-to-the-later-app.patch
Type: application/octet-stream
Size: 789 bytes
Desc: 0001-sh-pass-to-the-later-app.patch
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230529/f1683d17/attachment-0001.obj>


More information about the Toybox mailing list