Assume there is a line including some single letter like A, b, C, etc. and the letters separate by only one white space, which ASCII code is 32, say,
D B g A
I want the content for a \def's arguments, For example,
\def\mydef#1 #2 #3 #4{\textbf{#1}\textit{#2}\textsc{#3}\textsl{#4}}
the
\mydef{D B g A}
output bold D, italic B, smallcap g, and slanted A. Other situations export a warning message. Note: the \r\n (ASCII code 13) or \n (ASCII code 10) be seen as ending of \mydef.
\r\nnor\nis what your\mydefsees, since TeX converts all the various system-dependent newline indicators into its internal one^^M(which I believe is the same ASCII code as\n, however). – Ryan Reich Apr 28 '11 at 13:57