Greetings.

On 3 July 2013 17:52, Stephan van Ingen <stephanvanin...@gmail.com> wrote:
> stephanbosal@in-laptop3:~/Downloads/Win8$ *cd --SMSBOOT-sources-/*
> bash: cd: --: invalid option
> cd: usage: cd [-L|[-P [-e]]] [dir]
> stephanbosal@in-laptop3:~/Downloads/Win8$ *cd \-\-SMSBOOT-sources-/*
> bash: cd: --: invalid option

This is not a bug, this is the way that POSIX option parsing works.
Backslashes are not the way to solve it, because it's not that `-` is
being interpreted as a special character, it's about the way that the
option parser works. See

The correct way is to do this:

    cd -- --SMSBOOT-sources

Or:

    cd ./--SMSBOOT-sources

Best,

Chris

Reply via email to