Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

filenames with newlines is an edgecase and a data problem. You can have fucked up characters in filenames doesn't mean you should.

You can spend 10 hours solving for edge cases or 1 hour redefining the problem. In this case by mandating we only work on files with ascii printable characters. It's often much, much easier to massage input than have follow on tools handle every freaking possible edge case ever.



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

Search: