Forum Moderators: bakedjake

Message Too Old, No Replies

Outputting to STDIO

Dumping it all to the screen

         

trillianjedi

10:23 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm running an application that generates a log file when I put:-

> myfile.log

.... on the end of the command line.

Can I make that dump to standard output instead, so it writes to my screen?

I tried:-

./myapp -myparams stuff > STDOUT

...... but that just created a file called STDOUT and dumped to that.

I'm sure there's a way.....

Thanks,

TJ

bcc1234

10:42 pm on Nov 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just don't redirect it to a file and you should see it.
In other words, don't put the > at all.

trillianjedi

2:15 pm on Nov 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



D'oh!

Thanks ;-)

TJ <--- buries head in shame