hah yeah that really was the contents but here you go =)
It's just a test method whire I figure it out for my real program. I can't post the contents of that application.
Also I noted that it waits till something is read... that really isn't what I want it to do...
Essentially I either need to provide a fline to be read, pipe a string in or command line a string in. Only one of 3 (I guess I can do a if(argc==1) then try to pipe it...)
really it should be going with the echo -e to handle the new lines. the -e option says to process it. Instead it's doing this odd stuff...