% creator: ./data2tex.pl
% - include into TeX file with: "\input{my-table-file.tex}"
% - convert to LyX with: "reLyX -c article -p my-table-file.tex"

% Source file = data.dat

\begin{table}
 \caption{}
 %\label{dat2latex-1}
 \begin{center}
 \begin{tabular}{|l|l|l|} % modify table format to your needs
  \hline %-------------------------------------------
  title 1 & title 2 & title 3\\
  \hline %-------------------------------------------
  \hline %-------------------------------------------
  1 & 2 & 3\\
  4 & 5 & 6\\
  7 & 8 & 9\\
  \hline %-------------------------------------------
 \end{tabular}
 \end{center}
\end{table}
