is this "tee" or "\T" command supposed to still work in mysql 4.x?

the manual says

   * For logging, you can use the `tee' option. The `tee' can be
     started with option `--tee=...', or from the command-line
     interactively with command `tee'.

of course there isn't a single example of the syntax in the manual,
because we are supposed to just know how to do it i guess. so i can
only guess that these commands:

     pager   (\P)    Set PAGER [to_pager].
                     Print the query results via PAGER.
[...]
     tee     (\T)    Set outfile [to_outfile].
                     Append everything into given outfile.

should work similarly. but this is what happens:

mysql> pager less
PAGER set to less
mysql> tee log.txt
No outfile specified!
mysql> tee /tmp/log.txt
No outfile specified!
mysql> tee = /tmp/log.txt
No outfile specified!

the --tee=filename argument to the mysql client works fwiw...



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to