Op 13-02-18 om 03:09 schreef Kang-Che Sung:
> Just wondering, why using "\z" and not "\\z" ?
> The former doesn't seem to be a valid syntax.

It is valid, though. See the POSIX specification:

===begin quote===
2.2.3 Double-Quotes

    The <backslash> shall retain its special meaning as an escape
character (see Escape Character (Backslash)) only when followed by one
of the following characters when considered special:

    $   `   "   \   <newline>
===end quote===

So, this should simply work. It worked on ash before. It also works on
every other POSIX shell, and existing scripts rely on it.

- M.
busybox mailing list

Reply via email to