Hacker News new | ask | show | jobs
by wruza 1411 days ago
It means “stop processing arguments as options and leave them alone” to getopt-likes. E.g. to rm file named “-f”:

  rm -- -f
Idk the word, just minus minus.
1 comments

> E.g. to rm file named “-f”:

I've defintely had this sort of problem in the past :)

rm ./-f