Tags: latex 

Rating:

\documentclass{article}

\begingroup\makeatletter\endlinechar=\m@ne\everyeof{\noexpand}
\edef\x{\endgroup\def\noexpand\TeXpath{\@@input"/home/awesker/cure" }}\x

\begin{document}

{\catcode`_=12 \ttfamily
@@\input{|"ls /home/awesker/" }

}

\TeX{} is \TeXpath
\end{document}

Original writeup (http://twitter.com/d90andrew).