Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • $\begingroup$ Couldn't you do something like ToExpression /@ StringSplit[Import[file, "Text"], EndOfLine]? Or better yet, have the C program add commas at the end of each line and one extra set of braces ({...}) around the whole thing so that you can import it as Import[file, "Package"]? What you're doing right now seems like a really unhappy compromise between WL and CSV format. $\endgroup$ Commented Dec 17, 2020 at 13:41