Re: cd to dir with dashes

2003-02-03 Thread Sergey A. Ovchar
On Sun, 2 Feb 2003 07:46:38 -0800 (PST) Bill Moseley <[EMAIL PROTECTED]> wrote: > On Sun, 2 Feb 2003, Mark Zimmerman wrote: > > > cd ./--SIMPLE-ACCOUNT-- > also you can use the tab key -- ,''`. Sincerely yours : :' : Sergey A. Ovchar `. `' e-mail: [EMAIL PROTECTED] `- SMS: [EMAIL PR

Re: cd to dir with dashes

2003-02-02 Thread Bill Moseley
On Sun, 2 Feb 2003, Mark Zimmerman wrote: > cd ./--SIMPLE-ACCOUNT-- Ah, thanks. And thanks others for the double-dash answer. I knew both -- next time coffee before posting! -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe".

Re: cd to dir with dashes

2003-02-02 Thread Colin Watson
On Sun, Feb 02, 2003 at 06:45:53AM -0800, Bill Moseley wrote: > Hum, what's the trick to cd in bash in this case? > > moseley@bumby:~/wusage-accounts$ ls > --SIMPLE-ACCOUNT-- Either: cd -- --SIMPLE-ACCOUNT-- or: cd ./--SIMPLE-ACCOUNT-- -- Colin Watson [[E

Re: cd to dir with dashes

2003-02-02 Thread Stephen Rueger
On Sun, Feb 02, 2003 at 06:45:53AM -0800, Bill Moseley wrote: > Hum, what's the trick to cd in bash in this case? > > moseley@bumby:~/wusage-accounts$ ls "cd -- --SIMPLE-ACCOUNT--" or "cd ./--SIMPLE-ACCOUNT--" The -- tells cd that everything after that is not a command line option, it works with

Re: cd to dir with dashes

2003-02-02 Thread Dennis Stosberg
Am 02.02.2003 um 06:45 schrieb Bill Moseley: > Hum, what's the trick to cd in bash in this case? > [..] > moseley@bumby:~/wusage-accounts$ cd \-\-SIMPLE\-ACCOUNT\-\- > -bash: cd: --: invalid option > cd: usage: cd [-L|-P] [dir] Try this: cd -- --SIMPLE_ACCOUNT-- Regards, Dennis -- To UNSUB

Re: cd to dir with dashes

2003-02-02 Thread Mark Zimmerman
On Sun, Feb 02, 2003 at 06:45:53AM -0800, Bill Moseley wrote: > Hum, what's the trick to cd in bash in this case? > > moseley@bumby:~/wusage-accounts$ ls > --SIMPLE-ACCOUNT-- > > moseley@bumby:~/wusage-accounts$ cd --SIMPLE-ACCOUNT--/ > -bash: cd: --: invalid option > cd: usage: cd [-L|-P] [dir]