uutils/sed

l command uses different escape format than GNU

Open

#249 建立於 2026年1月11日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (23 fork)github user discovery
good first issue

倉庫指標

Star
 (91 star)
PR 合併指標
 (平均合併 6天 9小時) (30 天內合併 25 個 PR)

描述

Rust (incorrect format)

  $ echo "cÃ🧰y" | cargo run --quiet -- -e 'l'
  # Output: c\u00C3\U0001F9F0y$
  # (Uses \uXXXX and \UXXXXXXXX Unicode escape format)
  # Exit code: 0

GNU (correct format)

  $ echo "cÃ🧰y" | /usr/bin/sed -e 'l'
  # Output: c\303\203\360\237\247\260y$
  # (Uses \XXX octal escape format)
  # Exit code: 0

Bug Found by Fuzzer

貢獻者指南