dekker13 0 Newbie Poster

I've completed an assignment which takes a file with records, sorts them, and creates a table with the utility 'latex'. The interesting part is that my scripts runs perfectly on my Mac (Darwin) but it runs slowly with no response (or doesn't work depending on how you look at it) on my school's setup. The error message I get from 'latex' is: "! LaTeX Error: There's no line here to end." with lots of other mumbo jumbo. I get this error from the latex tmp.tex command.

Here is my 'tmp.tex' file:

\documentclass{article}
\pagestyle{empty}
\begin{document}
\begin{table}
\centering
\begin{tabular}{|c|c|c|c|}
\hline
name&exam1&exam2&exam3\\
\hline
Brown&92&70&93\\
Daniels&85&80&80\\
Douglas&90&60&70\\
Ford&92&64&93\\
Green&72&72&72\\
Johnson&90&85&80\\
Jones&85&73&94\\
Lewis&80&64&70\\
Miller&93&73&87\\
Smith&84&72&93\\
White&92&72&86\\
\hline
\end{tabular}
\end{table}
\end{document}

I've run out of remedies. It works on my system but doesn't work on theirs. Anyone have a clue?