Like, what's "messed up" about it? How did you save the G-code in the first place - was it plain text or something else? How did you generate it - did you write it by hand, or use a CAM program? Since EMC only runs in Linux, there might be some issues involved with file translation, although I've never run into it with plain-text G-code files.
Andrew Werby
www.computersculpture.com