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] > > moseley@bumby:~/wusage-accounts$ cd '--SIMPLE-ACCOUNT--/' > -bash: cd: --: invalid option > cd: usage: cd [-L|-P] [dir] > > moseley@bumby:~/wusage-accounts$ cd "--SIMPLE-ACCOUNT--/" > -bash: cd: --: invalid option > cd: usage: cd [-L|-P] [dir] > > moseley@bumby:~/wusage-accounts$ cd \-\-SIMPLE\-ACCOUNT\-\- > -bash: cd: --: invalid option > cd: usage: cd [-L|-P] [dir] >
How about: cd ./--SIMPLE-ACCOUNT-- ? -- Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]