News for hackers. Stuff that matters.
Re:How to write to stderr so people will like you by crc5002 on Friday April 16, 2010 @02:08PM (#1271386)
If you can't recompile the program, an expect script will come very handy:

  $ ./unbuffer ./tst >/tmp/logit 2>&1; cat /tmp/logit
  line 1
  stderr line 1
  line 2
  stderr line 2
http://expect.nist.gov/example/unbuffer

There are no comments on this comment yet.