> -----Original Message-----
> From: Leon, Yanet I,,DMDCWEST [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 18, 2002 3:03 PM
> To: [EMAIL PROTECTED]
> Subject: Funny character on a dir name.
> 
> 
> Not necessarily a perl question.  One of the users (on a Unix 
> box) created a
> directory with a dash at the beginning of the name (no idea 
> how he did it)
> and he needs to remove it.  The name of the file is -testing 
> is there a way
> to remove it using perl or other means.  I removed it using 
> the inode number
> of the directory.  Is there another way?
> 
> Regards
> 
> Yanet

   $ rmdir ./-testing

or

   $ perl -e 'rmdir "-testing"'

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to