Hacker News new | past | comments | ask | show | jobs | submit login

> because the `.Name` is a single string object

File path names are bytestrings on most OSes, so you have undefined behaviour if your pipeline can't handle that.




That's irrelevant to the overall point regarding word-splitting. dotnet represents filenames as String, so there can be nothing in the pipeline that couldn't handle them. Files whose names can't be represented in String are a dotnet problem, not a PS problem.


I am pretty sure that if something can't be handled by a program because it's underlying language can't handle it still counts as "program can't handle the problem".

"just don't mangle my filenames" is a pretty basic requirement for a universal use shell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: