About the newline though - can you try this out with one of your Icarus devices or the DualMiner? It outputs the information in columns - not using a newline would throw off the first row.