title: How to remove a file whose name starts with '-'
body: <p>After a mistake in a script I ended up with a file whose name starts with a dash, <code>-</code>:</p>
  
  <pre><code>-myfile.txt
  </code></pre>
  
  <p>I tried so far:</p>
  
  <pre><code>rm -myfile.txt
  rm: illegal option -- m
  usage: rm [-f | -i] [-dPRrvW] file ...
         unlink file
  
  rm "-myfile.txt"
  rm: illegal option -- m
  usage: rm [-f | -i] [-dPRrvW] file ...
         unlink file
  
  rm "\-myfile.txt"
  rm: \-myfile.txt: No such file or directory
  
  rm \-myfile.txt
  rm: illegal option -- m
  usage: rm [-f | -i] [-dPRrvW] file ...
         unlink file
  
  rm "-"myfile.txt
  rm: illegal option -- m
  usage: rm [-f | -i] [-dPRrvW] file ...
         unlink file
  </code></pre>
  
  <p>How can I delete this file?</p>