RIOT-OS/RIOT — pull request #565 by Kijewski (2014-01-24 21:33:31+00:00)
Title: Allow Mac linebreaks in shell

QEMU uses Mac style newlines in its UART implementation.
This change allows Unix ("\n"), DOS ("\r\n") and Mac ("\r") style linebreaks.

(The rationale for the little change in line 162 is that the negation does not convey the meaning of the condition.)