Aye. -v. thanks!
-nat
On 1/26/06, Pooly <[EMAIL PROTECTED]> wrote:
> 2006/1/25, Nathan Gross <[EMAIL PROTECTED]>:
> > Hi;
> > My query.log is full of 'show innodb status' queries.
> > How do I get this ascii log file not to log these. OR some help with a
> > grep script to copy the file without these lines.
>
>
> If you have a linux box (or any acceptable shell)
> cat query.log | grep -i -v 'show innodb status' > query_clean.log
>
> grep -i : case insensitive
> grep -v : everything but the patterm given
> cat : well a cat is a cat...
>
> > Thanks
> > -nat
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql

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

Reply via email to