[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] dumb vi question



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