uutils/sed
handles multiple exchange commands differently from GNU (pattern space truncation)
オープン
#253 opened on 2026/01/11
good first issue
Repository metrics
- Stars
- (91 個のスター)
- PR merge metrics
- (平均マージ 6d 9h) (30d で 25 merged PRs)
説明
Rust (incorrect - pattern space truncated)
$ echo -e "line1\nline2\nline3" | cargo run -p sed -- '2x;3x'
line1
line2
# Exit code: 0
GNU (correct)
$ echo -e "line1\nline2\nline3" | /usr/bin/sed '2x;3x'
line1
line2
# Exit code: 0