Hi Michale, all

[EMAIL PROTECTED] wrote:
most likely you just need to redirect STDERR to tee as well so it's not a mysql problem:

mysql -u -p -f << eof 2>&1 | tee ttt.txt
...

assuming it's Bourne or ksh, don't remember what's csh for 2>&1

It is an appended '&':   prog >& file
                         prog |& tee ...

But remember this one:
  http://www.gregor.com/dgregor/csh_whynot.html

Regards,
Joerg

--
Joerg Bruehe, Senior Production Engineer
MySQL AB, www.mysql.com
Office:  (+49 30) 417 01 487     VoIP: [EMAIL PROTECTED]

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to