[ale] dumb vi question

Greg Freemyer greg.freemyer at gmail.com
Mon Jul 24 13:20:37 EDT 2006


All,

I'm apparently getting rusty on my vi.

I have a mysql dump file that I want to look at closer by hand.

Currently the rows are seperated by ),(

I want to replace those with newlines.  I'm willing to do it from vi,
or the commandline.

>From vi I would think it would be something like :s/),(/$/

I assume I need to escape some of that, so I tried
:s/\),\(/$/

but I'm getting an error about unmatched \)

Can someone give me the syntax?

Thanks, Greg
-- 
Greg Freemyer
The Norcross Group
Forensics for the 21st Century



More information about the Ale mailing list