RetroUnixBell LabsDennis RitchieSixth Edition UnixmvTeletypeDoug McIlroy
Early Unix's mv Command Could Print a Patent Typo Bell Labs Kept Because a Speech Synthesizer Made It Sound Like "Doom"
Dennis Ritchie's own account of a diagnostic in Sixth Edition Unix explains where the line came from: the lab's typists, the ed editor and an early text-to-voice experiment.

Ritchie gives the message as: “In Sixth Edition Unix, the mv command could produce this diagnostic:” followed by a line that says “values of β will give rise to dom!” He adds that the Greek letter is a trick of the source: “in the real source, the \016B\017 was written with literal ASCII SI and SO control characters.” Shift In and Shift Out, in other words, bracket the letter B, and that’s what makes it a beta instead of a B.
The origin is a story about the work Unix was first hired for. Ritchie writes: “The very first use of Unix in the “real business” of Bell Labs was to type and produce patent applications,” and “for a while in the early 1970s we had three typists busily typing away in the grotty lab on the sixth floor.” That’s the setting for the sentence.
The cut-off is his deduction, and he says so. “It was of course obvious that the typist had interrupted a printout,” he writes, pointing to the exclamation mark that came from the ed editor. Somebody stopped a patent printout partway through a sentence, and what came out was a fragment ending in “dom!”
Then a different lab project got involved. “At the same time, we were experimenting with text-to-voice software by Doug McIlroy and others,” Ritchie says. Fed the fragment, the synthesizer did something odd with the last word: “its rendition of “give rise to dom!” accented the last word in a way that emphasized the phonetic similarity between “doom” and the first syllable of “dominance.”” A tool built to read documents aloud had found an ominous mutter in a typo. (Machines have always been better at ominous than at patents.)
So somebody saved it. “The phrase had to be recorded somewhere, and it was, in the v6 source.” Ritchie doesn’t claim to know who put it in mv: “Most likely it was Bob Morris who did the deed, but it could just as easily have been Ken.” The Ken he means is Ken Thompson, and nothing on the page settles it.
The same page covers a more famous line from the Unix kernel, the comment “You are not expected to understand this.” Ritchie says that was “intended as a remark in the spirit of ‘This won’t be on the exam,’ rather than as an impudent challenge.” The real issue, he explains, was that the authors didn’t fully understand the code either: “The real problem is that we didn’t understand what was going on either.” Then they redid the control-passing code, “and this code section, and the comment, passed into history.”
The pattern in both stories is the same. Unix grew in a room where the people who wrote the system also sat next to the people typing patents on it, and the jokes came from that room. The mv line had no code reason to exist, and its only claim to stay was how it sounded out loud.
The rest of that sentence never did turn up.