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

A better, and universal, solution to the problem of filenames starting with - is to prefix all relative paths with ./. A path like ./-blah will never be misinterpreted as a command line option, regardless of the tool, and doesn't depend on the -- convention which is only inconsistently present.


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

Search: