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

That'll handle whitespace in paths, but if you want it to handle all path characters, dirname and mkdir need "--" here too.


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

Search: