If I type myprogram > file I end up with a file of size 0 except for one time when it worked. Same program, no changes between times when it worked and when it didn't. Without the redirection it prints out to the terminal just fine. Virtually all the online help assumes you are needing to redirect std error but that is not the case here.If I type myprogram > file I end up with a file