removing a file with hyphens

Adam Bernard ab11+londonpm at
Thu Jun 7 11:53:30 BST 2007

On Thu, 7 Jun 2007, Paul Orrock wrote:

> Hi,
> So for reasons I won't go into I ended up with a file like this
> -rw-r--r--   1 paulo paulo       0 2007-05-21 14:23 -----Original
> which I didn't want, so I tried the following :
> Then I tried unlink('-----Original') using perl and it worked fine.

$ unlink '-----Original'
from the bash command line worked fine too.


The Wellcome Trust Sanger Institute is operated by Genome Research 
Limited, a charity registered in England with number 1021457 and a 
company registered in England with number 2742969, whose registered 
office is 215 Euston Road, London, NW1 2BE.

More information about the mailing list