sed problem


Subject: sed problem
From: Cisco (shootseabass@yahoo.com)
Date: Fri Jun 28 2002 - 00:36:49 AKDT


I got a huge (1.8G) mysql dump file that has several lines of:
/*!40000 ALTER TABLE ID_numbers DISABLE KEYS */;
I need to remove that erroneous trailing ; character on each of the lines.
I tried:
sed -e 's/DISABLE KEYS *\/;/DISABLE KEYS *\//g' 06-26-02_dump.sql > new.sql
and then it thinks for a while ... and then it finishes, but new.sql *still* has the ; character
at the end of those lines.
Anyone know how to get this to work?

- Cisco Serret

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Fri Jun 28 2002 - 00:36:53 AKDT