Vim - Escape % in a Batch script on current line


/ Published in: Other
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. :s/[%]\{-1}/%%/g

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.