0

I have file foo.txt with a single byte inside: x. Here is my code:

\documentclass{article}
\begin{document}
\newread\foo
\immediate\openin\foo=foo.txt
\read\foo to \content
\immediate\closein\foo
\message{content: [\content]^^J}%
\end{document}

It prints in the log:

content: [x ]

Why this extra space after x? How to get rid of it?

yegor256
  • 12,021

0 Answers0