You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
inline tr fast path: carried control bytes escape [:cntrl:]/[:space:] (payload decoding) #707
The inline tr pipeline fast path (src/executor/pipeline_exec.rs:3192, arm
body at 3206-3214, via translate_tr at 3435 and inline_expand_tr_set) walks input.chars() over the shell's transport text. Control bytes in the carrier
set {0x0c, 0x11, 0x13, 0x14..0x1f} are stored as U+E000 + U+E0xx marker pairs
(substitution_metadata.rs:112, 6 UTF-8 bytes), so they are never members of a
set built from real control characters. [:cntrl:] and [:space:] therefore
skip exactly the carried bytes while mapping the rest.
Classification: payload decoding (carrier pair). Part of the same class as
the tracked wc issue (niubash#383 / rubash#695) — any in-process arm that
classifies input bytes/characters must decode first.
Activity
docs(audit): fast-path differential catalogue and harness (niubash#383)
docs(audit): fast-path differential catalogue and harness (niubash#38…
fix: fast-path differential divergences #707/#708/#709 (tr carriers, …
caomengxuan666 commentedon Oct 17, 2026
已在
d4f0b67(PR #718)修掉,只是 issue 没跟着关。当前 masterd248d9f复验,与 GNU 逐字节一致:三组在 GNU 上完全相同,carried 的 0x0c/0x13/0x14..0x1f 现在也会先解码再判成员。