in reply to Re: placing an existing line from my XML file to the top of the file
in thread placing an existing line from my XML file to the top of the file

Thank you James! the code for "copying the last line to the beginning while removing it from the end" was exactly what I needed my script to do.

  • Comment on Re^2: placing an existing line from my XML file to the top of the file

Replies are listed 'Best First'.
Re^3: placing an existing line from my XML file to the top of the file
by james28909 (Deacon) on Aug 21, 2015 at 00:40 UTC
    I wouldnt use that for very large file btw.

      Hi James, what would you suggest for large files of 500+ lines of results in 1 XML?

        I think that would be fine tbh, I really meant for files that were hundreds of MB's or anything over a GB. I def wouldnt load a whole GB into memory.