Saving all xterm output to a file
Thomas Dickey
dickey@his.com
Sun Feb 8 11:35:00 GMT 2009
On Sat, 7 Feb 2009, Gary Johnson wrote:
>> ../run 1 Joiner default 2>&1 > results.dat
>
> I think that has to be written this way:
>
> ../run 1 Joiner default > results.dat 2>&1
>
> But if you (the OP) wants to see what's going into that file, you
> should tee, like this:
>
> ../run 1 Joiner default 2>&1 | tee results.dat
hmm - yes (I had at hand a script which does the latter, and couldn't
recall the detail needed for the former, which seemed to be what OP
requested).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list