I have a \foreach that should read the data points from a file. The points are stored in such a way that a simple copy paste would do. In fact, I don't want to do more than copy paste (if ever possible). I found that \input does not work. There are a couple solutions around but they seem to do more than copy-paste. Is there an "easy" way to achieve that?
document.tex:
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \from/\to in { \input{data}; } %input does not work...
{\draw [->] \from -- \to;}
\end{tikzpicture}
\end{document}
data.dat:
{(1,1)}/{(3,3)},
{(-1,1)}/{(-3,3)},
{(1,-1)}/{(3,-3)}%


