I have a shell/bash CGI script which calls a perl script in the background and prints the output of the perl script to the bash html page.
Everything is working well, except that it's printing all of the output in a single line.
If I run the same script via command prompt with proper indent and "\n" everything is working.
I change the print to sprintf but with no help.
Any thoughts?