Hah, that is a good one (and earns sympathetic winces). Though my continuing "favorite" (more amusing in hindsight) similar one was when
Apple did that, back in like 2001 with, iTunes 1? iTunes 2? Or maybe it was one of the Mac OS X 10.1 updates, because it was end up of 2001 and I think we'd already had 10.1 by that point, I moved to 10.0 from PB right away and 10.1 was still out real fast. Edit: actually yeah it was iTunes 2.0 end of October/November, I did have that saved somewhere.
At any rate, lots of people at Apple back then brand new to Unix, NeXT was still integrating, everything was still coming together. And they made one of the absolute most classic Unix newbie whoops moments: they wanted to clean up old versions of iTunes, so the used rm -rf... without quoting the path. It had this IIRC:
rm -rf $2Applications/iTunes.app 2
with $2 as the path. But of course classic Mac users were used to having spaces in drive names and folders and so on. If you only had the startup drive no problem. But if you'd partitioned or had an external drive and it had a space in the name, ie "Disk 1", then that'd become rm -rf Disk 1/Applications/iTunes.app 2 and you were off to the races. There were some fun discussion threads about it, although unfortunately the only Apple Discussions bookmarks I have saved from back then all seem to be dead. Not sure if they're still archived somewhere and the links just no longer redirect or it was cleared out sometime.
They got that pulled real quick too, but I always secretly wondered if the genesis of Time Machine was somewhere around there... backups were pretty rough at that stage of the game. Well, everything about Mac OS X was pretty rough, though exciting too.
Edit 2: Did find an old /. discussion about it that still works. Bit of a blast from the past reading through some of those, both in what has changed and what hasn't:
https://apple.slashdot.org/story/01/11/04/0412209/itunes-20-...