Wow, the examples in the SE discussion are awesome. I was aware of some of these linguistic issues, but the examples really underscore how subtle pragmatics can be. (The examples give completely syntactically parallel sentences that are pragmatically resolved in opposite ways.)
A programmers wife asks him, "Please go to the store and buy a carton of milk, and if they have eggs, buy a dozen."
The programmer returns home, and his wife is very angry with him. "Why did you buy twelve cartons of milk?!"
English SE question detailing the linguistic mechanisms: http://english.stackexchange.com/questions/40234/bring-6-egg...