Here is my document:
\documentclass{article} \begin{document} Hello, \input{name.txt}! \end{document}
My file name.txt has a single line Jeff\n (with EOL at the end).
name.txt
Jeff\n
It's rendered to: Hello, Jeff !. How do I remove the space after Jeff?
Hello, Jeff !
Jeff
\!
\unskip
-0,16667em
\!to step back one character, as it were. – Ingmar Feb 17 '21 at 06:06\unskipbefore ! – Roland Feb 17 '21 at 06:12\!is not the same size as a word space. – David Carlisle Feb 17 '21 at 09:46-0,16667em, so it'd probably take 6 of them. Other solutions are certainly more elegant. – Ingmar Feb 17 '21 at 10:15