This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Saving all xterm output to a file


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]