Subscribe to
NSLog(); Header Image


Just don't create a file called -rf.
-- Larry Wall in <11393@jpl-devvax.JPL.NASA.GOV>

I wonder how many years ago that was, because surely Larry knows that you can "rm -- -rf." But then again, in Perl, who knows. Maybe that'll cause issues. Anyway, how often has this ever come up? Who has ever named a file -rf?

This post is mostly a reminder to me to learn Perl again dammit. But it's kinda funny too.

One Response to "-rf"

  1. Hmm. In circumstances where one ends up with some weird characters in a filename I always refer to it as ./FILENAME i.e. "rm ./-rf"