Hello. At least it replaces the contents of my test file. If you're able to provide the test case where replace utility doesn't work please provide it to the list with the contents of the file.
wangxu wrote: > I execute follow statement. > ----------------------------------------- > shell>replace @@session.sql_mode=0 @@session.sql_mode=1 -- 1.000001 > ----------------------------------------- > But string "@@session.sql_mode=0" doesn't replace to "@@session.sql_mode=1". > > > > ----- Original Message ----- > From: "Gleb Paharenko" <[EMAIL PROTECTED]> > To: <mysql@lists.mysql.com> > Sent: Monday, January 23, 2006 7:56 PM > Subject:Re: question about recovery with binlog > > > >>Hello. >> >>There a lot of different ways to perform this operation. See: >> http://dev.mysql.com/doc/refman/5.0/en/replace-utility.html >> man sed >> man awk >> >> >>wangxu wrote: >> >>>How to replace it? >>> >> >>-- >>MySQL General Mailing List >>For list archives: http://lists.mysql.com/mysql >>To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] >> >> -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]