mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01:00
ea8c4e3af2
# Description Fixes the lexer to recognize `out>|`, `err>|`, `out+err>|`, etc. Previously only the short-style forms were recognized, which was inconsistent with normal file redirections. I also integrated it all more into the normal lex path by checking `|` in a special way, which should be more performant and consistent, and cleans up the code a bunch. Closes #13331. # User-Facing Changes - Adds `out>|` (error), `err>|`, `out+err>|`, `err+out>|` as recognized forms of the pipe redirection. # Tests + Formatting All passing. Added tests for the new forms. # After Submitting - [ ] release notes |
||
---|---|---|
.. | ||
environment | ||
pipeline | ||
mod.rs | ||
repl.rs |