uutils/sed

l command uses different escape format than GNU

Open

#249 geöffnet am 11. Jan. 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (23 Forks)github user discovery
good first issue

Repository-Metriken

Stars
 (91 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 9h) (25 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide