4 ms·
I just wish that Linux would be less obnoxious about file separators and especially line endings. Windows mostly just eats linux-style line endings and file pat
by HdS84 3y ago
I just wish that Linux would be less obnoxious about file separators and especially line endings.
Windows mostly just eats linux-style line endings and file paths without a problem, and MOST programs do not have a problem either.
Feed a windows-style path or line ending to linux? Watch how it dies with absurd errors.
- Symbiote 3y agoBut \ is a valid character for a filename in Linux. It can't also be a separator.
- AceyMan 3y agoAnd, should you check such a file into a git repo, you won't be able to clone it on Windows. With that in mind I would encourage never doing so (and makes me wish git had a filter to prevent it in the first place or at least provide a stern warning.)