If you regularly receive unix commands that you need to copy-n-paste out of a Word document, then you should disable AutoFormat/AutoCorrect, because it is otherwise difficult to ensure that quote and dash characters aren't damaged.
But sometimes you get a document where the damage is already done. How do you fix these?