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

How would you quote it, exactly? You have to remember that quotation marks are processed by the shell, not the program.

  ls -file
  ls "-file"
Both of these commands to ls will have an argv comprised of: ls, -file


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

Search: