uutils/sed

l command uses different escape format than GNU

Open

#249 opened on 2026年1月11日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (23 forks)github user discovery
good first issue

Repository metrics

Stars
 (91 stars)
PR merge metrics
 (平均マージ 6d 9h) (30d で 25 merged PRs)

説明

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

コントリビューターガイド