Open phinjensen opened 6 years ago
original author: David Fetter
date: 2009-08-20T18:38:01-04:00
You can use \r instead of ^V^M on the right side of a s///. It's a little quicker to type, at least for me :)
original author: Andrew
date: 2009-08-21T09:46:10-04:00
i just use sed or occasionally perl for tasks like this.
sed is often overlooked these days, but this is precisely the sort of task it's good at.
original author: Selena Deckelmann
date: 2009-08-24T15:59:39-04:00
David: ^M will catch EOL characters from all platforms, so I tend to use it instead of '\r'. But yeah, in this case that'd work.
Andrew: I tend to use perl, but not usually sed. I was just trying to learn a little more vim.
Comments for https://www.endpointdev.com/blog/2009/08/two-quick-tips-egrep-sql-dumps-vim-and/ By Selena Deckelmann
To enter a comment: