mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 22:29:06 +02:00
# Description Currently the implementation is different for Windows and Unix. Thus certain operations will fail if the platform foreign line ending is used: example failing under windows ``` git show (git merge-base main HEAD) ``` Temporary cheat is to strip all `\r` and `\n` from the end. Proper solution should trim them as correct patterns. Also needed: test of behavior with both platform newline and platform-foreign line endings cc @WindSoilder # User-Facing Changes Line endings should be trimmed no matter the source and no matter the platform # Tests + Formatting Still missing