You're viewing a comment by Peter Krumins and its responses.

March 20, 2010, 19:08

Mike, good catch! I assumed it was the default behavior of the shell commands to escape arguments after seeing --. Now I found out that it was an extension, not guaranteed to work universally. And this is one of the cases where it doesn't work.

For example, you can do things like rm -- - but you can't cd -- -.

Therefore you have to use cd ./- or cd /full/path/to/-

I am updating the article right now to fix this mistake.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "browser_195": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.