While trying out the fuzzer I noticed that GNU `sed` adds a newline in the output if the input doesn't end with a newline. Our implementation doesn't. ``` $ printf "foo" | sed -e p foo foo$ $ printf "foo" | cargo run -q sed -e p foofoo$ ```
Activity
Add unit test for issue #143 (newline behavior with -e p command)
Add unit test for issue uutils#143 (newline behavior with -e p command)
XNxa commentedon Sep 17, 2026
This issue should be closed. Fixed by PR #378
sylvestre commentedon Sep 17, 2026
thanks