Posted By

jasonseney on 06/23/11


Tagged

batch vim


Versions (?)

Vim - Escape % in a Batch script on current line


 / Published in: Other
 

Does a search and replace to make all % on the line %% (ignores any %'s already escaped)

  1. :s/[%]\{-1}/%%/g

Report this snippet  

You need to login to post a comment.