Art by me, after a typo by my friend.

    • mormegil
      link
      fedilink
      arrow-up
      10
      ·
      6 months ago

      Beware the DWIM!

      In one notorious incident, Warren added a DWIM feature to the command interpreter used at Xerox PARC. One day another hacker there typed delete *$ to free up some disk space. (The editor there named backup files by appending $ to the original file name, so he was trying to delete any backup files left over from old editing sessions.) It happened that there weren’t any editor backup files, so DWIM helpfully reported *$ not found, assuming you meant ‘delete *’. It then started to delete all the files on the disk!

      http://www.catb.org/jargon/html/D/DWIM.html