I want to open a text file, extract some data, and export that data to another text file (an AutoCAD script). For that I will need to insert some commands before each piece of data I extracted, create a new line, and continue with the operation.
More specific, the original file looks like this...