Aug. 3, 2026
1:26 p.m.
When echo:ing a command, match native behavior by only showing the last redirection on a given stream, and by adding spaces around redirections and separators. When a command has several redirections on the same stream, native only echoes the last one. Pls tell me if anything else needs to be added/removed from the tests, tried to be as minimal as possible wrt space addition/removal Fixes bug [21227](https://bugs.winehq.org/show_bug.cgi?id=21227) Signed-off-by: Lokesh Poovaragan lokesh.poovaragan@gmail.com -- v5: cmd: Move redirection deduplication to parse time. cmd/tests: Add tests for echo of redirections and separators. https://gitlab.winehq.org/wine/wine/-/merge_requests/11554